private void FillLIC(DropDownList ddl, WareHouseOperatorTypeEnum type) { ddl.DataSource = null; ddl.DataSource = WarehouseOperator.LICs(CurrentGINModel); ddl.DataTextField = "Name"; ddl.DataValueField = "ID"; ddl.DataBind(); }
private void FillWeigher(DropDownList ddl, WareHouseOperatorTypeEnum type) { ddl.DataSource = null; ddl.DataSource = WarehouseOperator.WarehouseOperators(UserBLL.GetCurrentWarehouse()).FindAll(p => p.Type % (int)type == 0); ddl.DataTextField = "Name"; ddl.DataValueField = "ID"; ddl.DataBind(); }
private void FillLIC(DropDownList ddl, WareHouseOperatorTypeEnum type) { ddl.DataSource = null; ddl.DataSource = WarehouseOperator.LICAll(UserBLL.GetCurrentWarehouse()); ddl.DataTextField = "Name"; ddl.DataValueField = "ID"; ddl.DataBind(); }