private void ShowInfo(int Uid) { BBS.BLL.BBSUsers bll = new BBS.BLL.BBSUsers(); BBS.Model.BBSUsers model = bll.GetModel(Uid); this.lblUid.Text = model.Uid.ToString(); this.lblUname.Text = model.Uname; this.lblUPassword.Text = model.UPassword; this.lblUEmail.Text = model.UEmail; this.lblUBirthday.Text = model.UBirthday.ToString(); this.lblUsex.Text = model.Usex?"是":"否"; this.lblUClass.Text = model.UClass.ToString(); this.lblUStatement.Text = model.UStatement; this.lblURegDate.Text = model.URegDate.ToString(); this.lblUState.Text = model.UState.ToString(); this.lblUPoint.Text = model.UPoint.ToString(); }
private void ShowInfo(int Uid) { BBS.BLL.BBSUsers bll = new BBS.BLL.BBSUsers(); BBS.Model.BBSUsers model = bll.GetModel(Uid); this.lblUid.Text = model.Uid.ToString(); this.txtUname.Text = model.Uname; this.txtUPassword.Text = model.UPassword; this.txtUEmail.Text = model.UEmail; this.txtUBirthday.Text = model.UBirthday.ToString(); this.chkUsex.Checked = model.Usex; this.txtUClass.Text = model.UClass.ToString(); this.txtUStatement.Text = model.UStatement; this.txtURegDate.Text = model.URegDate.ToString(); this.txtUState.Text = model.UState.ToString(); this.txtUPoint.Text = model.UPoint.ToString(); }