示例#1
0
 private void ShowInfo(int sdId)
 {
     NoName.NetShop.BLL.SupplyDemandModelBll bll   = new NoName.NetShop.BLL.SupplyDemandModelBll();
     NoName.NetShop.Model.SupplyDemandModel  model = bll.GetModel(sdId);
     this.lblsdType.Text     = model.sdType.ToString();
     this.lbluserId.Text     = model.userId.ToString();
     this.lblTitle.Text      = model.Title;
     this.lblContent.Text    = model.Content;
     this.lblInsertTime.Text = model.InsertTime.ToString();
     this.lblModifyTime.Text = model.ModifyTime.ToString();
     this.lblStatus.Text     = model.Status.ToString();
 }
 private void ShowInfo(int sdId)
 {
     NoName.NetShop.BLL.SupplyDemandModelBll bll=new NoName.NetShop.BLL.SupplyDemandModelBll();
     NoName.NetShop.Model.SupplyDemandModel model=bll.GetModel(sdId);
     this.lblsdType.Text=model.sdType.ToString();
     this.lbluserId.Text=model.userId.ToString();
     this.lblTitle.Text=model.Title;
     this.lblContent.Text=model.Content;
     this.lblInsertTime.Text=model.InsertTime.ToString();
     this.lblModifyTime.Text=model.ModifyTime.ToString();
     this.lblStatus.Text=model.Status.ToString();
 }