private void ItemListByCompany(StockInViewModel stockInViewModel) { itemDropDownList.DataSource = stockInManager.GetAllItemByCompany(stockInViewModel); itemDropDownList.DataTextField = "ItemName"; itemDropDownList.DataValueField = "ItemSl"; itemDropDownList.DataBind(); itemDropDownList.Items.Insert(0, new ListItem("Select a Item")); }