protected void setData(int recordId) { DataTable dataTable = ConferenceManage.QuerySubsection(recordId); if (dataTable.Rows.Count == 1) { this.ddltCallTime.SelectedValue = dataTable.Rows[0]["CallHour"].ToString(); this.ddltCallMinute.SelectedValue = dataTable.Rows[0]["CallMinute"].ToString(); this.txtTopic.Text = dataTable.Rows[0]["Topic"].ToString(); this.txtAttendManName.Text = dataTable.Rows[0]["AttendManNames"].ToString(); this.hdnAttendManName.Value = dataTable.Rows[0]["AttendManCodes"].ToString(); this.hdnName.Value = dataTable.Rows[0]["AttendManNames"].ToString(); this.txtNumber.Text = dataTable.Rows[0]["Number"].ToString(); this.hdnNumber.Value = dataTable.Rows[0]["Number"].ToString(); if ((string)dataTable.Rows[0]["IsSms"] == "1") { this.ckbIsSms.Checked = true; } else { this.ckbIsSms.Checked = false; } this.txtContent.Text = dataTable.Rows[0]["Content"].ToString(); } }