private void ShowInfo(int GridViewTypeID) { WebDemo.BLL.WebDemo.GridViewType bll = new WebDemo.BLL.WebDemo.GridViewType(); WebDemo.Model.WebDemo.GridViewType model = bll.GetModel(GridViewTypeID); this.lblGridViewTypeID.Text = model.GridViewTypeID.ToString(); this.lblGridViewTypeName.Text = model.GridViewTypeName; this.lblIsEdit.Text = model.IsEdit?"是":"否"; this.lblIsShow.Text = model.IsShow?"是":"否"; this.lblOrderNum.Text = model.OrderNum.ToString(); this.lblRemark.Text = model.Remark; }
private void ShowInfo(int GridViewTypeID) { WebDemo.BLL.WebDemo.GridViewType bll = new WebDemo.BLL.WebDemo.GridViewType(); WebDemo.Model.WebDemo.GridViewType model = bll.GetModel(GridViewTypeID); this.lblGridViewTypeID.Text = model.GridViewTypeID.ToString(); this.txtGridViewTypeName.Text = model.GridViewTypeName; this.chkIsEdit.Checked = model.IsEdit; this.chkIsShow.Checked = model.IsShow; this.txtOrderNum.Text = model.OrderNum.ToString(); this.txtRemark.Text = model.Remark; }