public void ClearTextValue() { RegisterSelfInfor = new Frame_Chip_RegisterINfor(); try { { RegisterSelfInfor = (Frame_Chip_RegisterINfor)Page.LoadControl("../../Frame/Chip/RegisterINfor.ascx"); RegisterSelfInfor.Colum2TextConfig = ""; RegisterSelfInfor.Colum3TextConfig = ""; RegisterSelfInfor.Colum4TextConfig = ""; RegisterSelfInfor.Colum5TextConfig = ""; RegisterSelfInfor.Colum1TextConfig = ""; RegisterSelfInfor.ClearDropDownList(); ConfigChipChannel(RegisterSelfInfor); RegisterSelfInfor.EnableColum5Text = true; RegisterSelfInfor.EnableColum4Text = true; RegisterSelfInfor.EnableColum3Text = true; RegisterSelfInfor.EnableColum2Text = true; RegisterSelfInfor.EnableColum1Text = true; this.Register_Infor.Controls.Add(RegisterSelfInfor); } } catch (System.Exception ex) { throw ex; } }
public bool ConfigChipChannel(Frame_Chip_RegisterINfor input) { try { for (int i = 0; i < chipChannelCount + 1; i++) { input.InsertColum5Text(i, new ListItem(Convert.ToString(i))); } return(true); } catch (System.Exception ex) { throw ex; } }