private void ShowInfo(int Id) { Maticsoft.BLL.Travels bll=new Maticsoft.BLL.Travels(); Maticsoft.Model.Travels model=bll.GetModel(Id); this.lblId.Text=model.Id.ToString(); this.lblUserId.Text=model.UserId.ToString(); this.lblTravelName.Text=model.TravelName; this.lblCreateTime.Text=model.CreateTime.ToString(); this.lblUpdateTime.Text=model.UpdateTime.ToString(); this.lblCoverImage.Text=model.CoverImage; this.lblIsDelete.Text=model.IsDelete?"是":"否"; }
private void ShowInfo(int Id) { Maticsoft.BLL.Travels bll = new Maticsoft.BLL.Travels(); Maticsoft.Model.Travels model = bll.GetModel(Id); this.lblId.Text = model.Id.ToString(); this.lblUserId.Text = model.UserId.ToString(); this.lblTravelName.Text = model.TravelName; this.lblCreateTime.Text = model.CreateTime.ToString(); this.lblUpdateTime.Text = model.UpdateTime.ToString(); this.lblCoverImage.Text = model.CoverImage; this.lblIsDelete.Text = model.IsDelete?"是":"否"; }
private void ShowInfo(int Id) { Maticsoft.BLL.Travels bll = new Maticsoft.BLL.Travels(); Maticsoft.Model.Travels model = bll.GetModel(Id); this.lblId.Text = model.Id.ToString(); this.txtUserId.Text = model.UserId.ToString(); this.txtTravelName.Text = model.TravelName; this.txtCreateTime.Text = model.CreateTime.ToString(); this.txtUpdateTime.Text = model.UpdateTime.ToString(); this.txtCoverImage.Text = model.CoverImage; this.chkIsDelete.Checked = model.IsDelete; }
private void ShowInfo(int Id) { Maticsoft.BLL.Travels bll=new Maticsoft.BLL.Travels(); Maticsoft.Model.Travels model=bll.GetModel(Id); this.lblId.Text=model.Id.ToString(); this.txtUserId.Text=model.UserId.ToString(); this.txtTravelName.Text=model.TravelName; this.txtCreateTime.Text=model.CreateTime.ToString(); this.txtUpdateTime.Text=model.UpdateTime.ToString(); this.txtCoverImage.Text=model.CoverImage; this.chkIsDelete.Checked=model.IsDelete; }