예제 #1
0
    public void InitData()
    {
        DataTable dt = WareHouseDAL.GetWareHouseName();

        DropDownList1.DataSource = dt;
        DropDownList1.DataBind();

        string wareHouseID = DropDownList1.SelectedItem.Value;

        DropDownList2.DataSource = CompanyConsignBLL.GetDepotSeat(wareHouseID);
        DropDownList2.DataBind();
    }
예제 #2
0
 public static DataTable GetWareHouseName()
 {
     return(WareHouseDAL.GetWareHouseName());
 }
예제 #3
0
 /// <summary>
 /// 获取出库名(Outstock.aspx)
 /// </summary>
 /// <param name="WareHouseID"></param>
 /// <returns></returns>
 public static ListItem GetWareHouseName(string storeOrderID)
 {
     return(WareHouseDAL.GetWareHouseName(storeOrderID));
 }