private void ShowInfo(int AnswerId) { NoName.NetShop.BLL.AnswerModelBll bll=new NoName.NetShop.BLL.AnswerModelBll(); NoName.NetShop.Model.AnswerModel model=bll.GetModel(AnswerId); this.lblQuestionId.Text=model.QuestionId.ToString(); this.lblTitle.Text=model.Title; this.lblBrief.Text=model.Brief; this.lblContent.Text=model.Content; this.lblAnswerTime.Text=model.AnswerTime.ToString(); }
private void ShowInfo(int AnswerId) { NoName.NetShop.BLL.AnswerModelBll bll = new NoName.NetShop.BLL.AnswerModelBll(); NoName.NetShop.Model.AnswerModel model = bll.GetModel(AnswerId); this.lblQuestionId.Text = model.QuestionId.ToString(); this.lblTitle.Text = model.Title; this.lblBrief.Text = model.Brief; this.lblContent.Text = model.Content; this.lblAnswerTime.Text = model.AnswerTime.ToString(); }