Пример #1
0
 private void ShowInfo(int Id)
 {
     Maticsoft.BLL.Reply   bll   = new Maticsoft.BLL.Reply();
     Maticsoft.Model.Reply model = bll.GetModel(Id);
     this.lblId.Text = model.Id.ToString();
     this.ddlFk_Leaveword_Id.SelectedValue = model.Fk_Leaveword_Id.ToString();
     this.txtContents.Text             = model.Contents;
     this.ddlFk_Users_Id.SelectedValue = model.Fk_Users_Id.ToString();
     this.txtAddTimes.Text             = model.AddTimes.ToString();
 }
Пример #2
0
 private void ShowInfo(int Id)
 {
     Maticsoft.BLL.Reply   bll   = new Maticsoft.BLL.Reply();
     Maticsoft.Model.Reply model = bll.GetModel(Id);
     this.lblId.Text = model.Id.ToString();
     BLL.Leaveword   BLLLeaveword   = new BLL.Leaveword();
     Model.Leaveword ModelLeaveword = BLLLeaveword.GetModel((int)model.Fk_Leaveword_Id);
     this.lblFk_Leaveword_Id.Text = ModelLeaveword.Id.ToString();
     this.lblContents.Text        = model.Contents;
     BLL.Users   BLLUsers   = new BLL.Users();
     Model.Users ModelUsers = BLLUsers.GetModel((int)model.Fk_Users_Id);
     this.lblFk_Users_Id.Text = ModelUsers.Name;
     this.lblAddTimes.Text    = model.AddTimes.ToString();
 }