public void InitData() { DataTable dt = WareHouseDAL.GetWareHouseName(); DropDownList1.DataSource = dt; DropDownList1.DataBind(); string wareHouseID = DropDownList1.SelectedItem.Value; DropDownList2.DataSource = CompanyConsignBLL.GetDepotSeat(wareHouseID); DropDownList2.DataBind(); }
public static DataTable GetWareHouseName() { return(WareHouseDAL.GetWareHouseName()); }
/// <summary> /// 获取出库名(Outstock.aspx) /// </summary> /// <param name="WareHouseID"></param> /// <returns></returns> public static ListItem GetWareHouseName(string storeOrderID) { return(WareHouseDAL.GetWareHouseName(storeOrderID)); }