Ejemplo n.º 1
0
        private void CompanyList(StockOutViewModel stockOutViewModel)
        {
            companyDropDownList.DataSource = stockOutManager.GetAllCompanyFromStock(stockOutViewModel);


            companyDropDownList.DataTextField  = "CompanyName";
            companyDropDownList.DataValueField = "CompanySl";
            companyDropDownList.DataBind();
            companyDropDownList.Items.Insert(0, new ListItem("Select a Company"));
        }