this.DropDownList2.Items.Clear();
int rcount;
IList list;
list = _mms.GetMaterialsMarketByPro(pager.CurrentPageIndex, base.LongPageSize, int.Parse(DropDownList1.SelectedValue.ToString()), out rcount);
for (int i=0; i < list.Count; i++)
{
MaterialsMarket c;
c=(MaterialsMarket)list[i];
if (c != null)
{
if (int.Parse(c.Producttypeid) > 0&& c.ProductType!=null)
{
this.DropDownList2.Items.Add(c.ProductType);
this.DropDownList2.Items[DropDownList2.Items.Count-1].Value = c.Producttypeid;
}
}
}