Пример #1
0
 private void ShowInfo(int ID)
 {
     WebDemo.BLL.WebDemo.DataExportCodeInfo   bll   = new WebDemo.BLL.WebDemo.DataExportCodeInfo();
     WebDemo.Model.WebDemo.DataExportCodeInfo model = bll.GetModel(ID);
     this.lblID.Text     = model.ID.ToString();
     this.txtName.Text   = model.Name;
     this.txtStrSql.Text = model.StrSql;
     this.chkShowDeptCondition.Checked = model.ShowDeptCondition;
     this.txtInfoCondition.Text        = model.InfoCondition;
     this.txtDateCondition.Text        = model.DateCondition;
     this.txtExtCondition.Text         = model.ExtCondition;
     this.txtAscString.Text            = model.AscString;
     this.txtGridViewWidth.Text        = model.GridViewWidth.ToString();
     this.txtExportType.Text           = model.ExportType;
     this.chkShowHeader.Checked        = model.ShowHeader;
     this.txtSplitChar.Text            = model.SplitChar;
     this.txtCreateDbfSql.Text         = model.CreateDbfSql;
     this.txtDbfFileName.Text          = model.DbfFileName;
     this.txtRemark.Text           = model.Remark;
     this.txtEndDateCondition.Text = model.EndDateCondition;
     this.txtShowOtherHeader.Text  = model.ShowOtherHeader;
     this.txtExportCols.Text       = model.ExportCols;
 }
Пример #2
0
 private void ShowInfo(int ID)
 {
     WebDemo.BLL.WebDemo.DataExportCodeInfo   bll   = new WebDemo.BLL.WebDemo.DataExportCodeInfo();
     WebDemo.Model.WebDemo.DataExportCodeInfo model = bll.GetModel(ID);
     this.lblID.Text                = model.ID.ToString();
     this.lblName.Text              = model.Name;
     this.lblStrSql.Text            = model.StrSql;
     this.lblShowDeptCondition.Text = model.ShowDeptCondition?"是":"否";
     this.lblInfoCondition.Text     = model.InfoCondition;
     this.lblDateCondition.Text     = model.DateCondition;
     this.lblExtCondition.Text      = model.ExtCondition;
     this.lblAscString.Text         = model.AscString;
     this.lblGridViewWidth.Text     = model.GridViewWidth.ToString();
     this.lblExportType.Text        = model.ExportType;
     this.lblShowHeader.Text        = model.ShowHeader?"是":"否";
     this.lblSplitChar.Text         = model.SplitChar;
     this.lblCreateDbfSql.Text      = model.CreateDbfSql;
     this.lblDbfFileName.Text       = model.DbfFileName;
     this.lblRemark.Text            = model.Remark;
     this.lblEndDateCondition.Text  = model.EndDateCondition;
     this.lblShowOtherHeader.Text   = model.ShowOtherHeader;
     this.lblExportCols.Text        = model.ExportCols;
 }