public void ClearTextValue() { GlobalMSASelfInfor = new ASCXGloblaMSADefinationSelfInfor(); try { { GlobalMSASelfInfor = (ASCXGloblaMSADefinationSelfInfor)Page.LoadControl("../../Frame/MSAInfo/GloblaMSADefinationSelfInfor.ascx"); GlobalMSASelfInfor.Colum2TextConfig = ""; GlobalMSASelfInfor.Colum3TextConfig = ""; GlobalMSASelfInfor.Colum4TextConfig = ""; GlobalMSASelfInfor.Colum5TextConfig = ""; GlobalMSASelfInfor.Colum6TextConfig = ""; GlobalMSASelfInfor.Colum7TextConfig = ""; GlobalMSASelfInfor.Colum8TextConfig = ""; GlobalMSASelfInfor.EnableColum8Text = true; GlobalMSASelfInfor.EnableColum7Text = true; GlobalMSASelfInfor.EnableColum6Text = true; GlobalMSASelfInfor.EnableColum5Text = true; GlobalMSASelfInfor.EnableColum4Text = true; GlobalMSASelfInfor.EnableColum3Text = true; GlobalMSASelfInfor.EnableColum2Text = true; GlobalMSASelfInfor.TH2Text = mydt.Columns[2].ColumnName; GlobalMSASelfInfor.TH3Text = mydt.Columns[3].ColumnName; GlobalMSASelfInfor.TH4Text = mydt.Columns[4].ColumnName; GlobalMSASelfInfor.TH5Text = mydt.Columns[5].ColumnName; GlobalMSASelfInfor.TH6Text = mydt.Columns[6].ColumnName; GlobalMSASelfInfor.TH7Text = mydt.Columns[7].ColumnName; GlobalMSASelfInfor.TH8Text = mydt.Columns[8].ColumnName; this.GlobalMSADefSelfInfor.Controls.Add(GlobalMSASelfInfor); } } catch (System.Exception ex) { throw ex; } }
public void ClearTextValue() { GlobalMSASelfInfor = new ASCXGloblaMSADefinationSelfInfor(); try { { GlobalMSASelfInfor = (ASCXGloblaMSADefinationSelfInfor)Page.LoadControl("~/Frame/MSAInfo/GloblaMSADefinationSelfInfor.ascx"); GlobalMSASelfInfor.Colum2TextConfig = ""; GlobalMSASelfInfor.Colum3TextConfig = ""; GlobalMSASelfInfor.Colum4TextConfig = ""; GlobalMSASelfInfor.Colum5TextConfig = ""; GlobalMSASelfInfor.Colum6TextConfig = ""; GlobalMSASelfInfor.Colum7TextConfig = ""; GlobalMSASelfInfor.Colum8TextConfig = ""; GlobalMSASelfInfor.EnableColum8Text = true; GlobalMSASelfInfor.EnableColum7Text = true; GlobalMSASelfInfor.EnableColum6Text = true; GlobalMSASelfInfor.EnableColum5Text = true; GlobalMSASelfInfor.EnableColum4Text = true; GlobalMSASelfInfor.EnableColum3Text = true; GlobalMSASelfInfor.EnableColum2Text = true; GlobalMSASelfInfor.TH2Text = "字段名"; GlobalMSASelfInfor.TH3Text = "通道"; GlobalMSASelfInfor.TH4Text = "模块地址"; GlobalMSASelfInfor.TH5Text = "页数"; GlobalMSASelfInfor.TH6Text = "开始地址"; GlobalMSASelfInfor.TH7Text = "长度"; GlobalMSASelfInfor.TH8Text = "格式"; this.GlobalMSADefSelfInfor.Controls.Add(GlobalMSASelfInfor); } } catch (System.Exception ex) { throw ex; } }