Esempio n. 1
0
 private void ShowInfo(int StoreHouse_ID)
 {
     ZhangWei.BLL.StoreHouse   bll   = new ZhangWei.BLL.StoreHouse();
     ZhangWei.Model.StoreHouse model = bll.GetModel(StoreHouse_ID);
     this.lblStoreHouse_ID.Text       = model.StoreHouse_ID.ToString();
     this.txtAddress.Text             = model.Address;
     this.txtPhone.Text               = model.Phone;
     this.DropDownList1.SelectedValue = model.Employee_ID.ToString();
     this.Label1.Text = model.CreateDate.ToString();
 }
Esempio n. 2
0
 private void ShowInfo(int StoreHouse_ID)
 {
     ZhangWei.BLL.StoreHouse   bll   = new ZhangWei.BLL.StoreHouse();
     ZhangWei.Model.StoreHouse model = bll.GetModel(StoreHouse_ID);
     this.lblStoreHouse_ID.Text = model.StoreHouse_ID.ToString();
     this.lblAddress.Text       = model.Address;
     this.lblPhone.Text         = model.Phone;
     this.lblEmployee_ID.Text   = model.Employee_ID.ToString();
     this.lblCreateDate.Text    = model.CreateDate.ToString();
 }