private void ShowInfo(int u_ID) { WalleProject.BLL.t_user bll = new WalleProject.BLL.t_user(); WalleProject.Model.t_user model = bll.GetModel(u_ID); this.txtu_address.Text = model.u_address; this.txtu_creaditsLogID.Text = model.u_creaditsLogID.ToString(); this.lblu_ID.Text = model.u_ID.ToString(); this.txtu_nickName.Text = model.u_nickName; this.txtu_birthDate.Text = model.u_birthDate.ToString(); this.txtu_name.Text = model.u_name; }
private void ShowInfo(int u_ID) { WalleProject.BLL.t_user bll = new WalleProject.BLL.t_user(); WalleProject.Model.t_user model = bll.GetModel(u_ID); this.lblu_address.Text = model.u_address; this.lblu_lastLoginDate.Text = string.Format("{0:yyyy-MM-dd}", model.u_lastLoginDate); this.lblu_creaditsLogID.Text = model.u_creaditsLogID.ToString(); this.lblu_registrationDate.Text = model.u_registrationDate.ToString(); this.lblu_ID.Text = model.u_ID.ToString(); this.lblu_nickName.Text = model.u_nickName; this.lblu_category.Text = model.u_category; this.lblu_birthDate.Text = string.Format("{0:yyyy-MM-dd}", model.u_birthDate); this.lblu_state.Text = model.u_state; this.lblu_integral.Text = model.u_integral.ToString(); this.lblu_creditGrade.Text = model.u_creditGrade; this.lblu_name.Text = model.u_name; }