You can try using Generic list so that it can be filtered easily.
private void Bind()
{
List<Item> items = new List<Item>()
{
new Item(){ Cust = "One", QTY=8 },
new Item(){ Cust = "Two", QTY=0},
new Item(){ Cust = "Three", QTY=14 }
};
DropDownList1.DataSource = items.Where(itm=>itm.QTY>0) ;
DropDownList1.DataTextField = "Cust";
DropDownList1.DataValueField = "Cust";
DropDownList1.DataBind();
}
public class Item
{
public string Cust { get; set; }
public int QTY { get; set; }
}
Hope this helps