protected void setData(int recordId) { DataTable dataTable = ConferenceManage.QueryTemplateFraeInfo("OA_Meeting_Equipment", recordId); if (dataTable.Rows.Count == 1) { this.txtEquipmentName.Text = dataTable.Rows[0]["EquipmentName"].ToString(); this.txtNumber.Text = dataTable.Rows[0]["Number"].ToString(); } }
protected void setData(int recordId) { DataTable dataTable = ConferenceManage.QueryTemplateFraeInfo("OA_Meeting_Waiter", recordId); if (dataTable.Rows.Count == 1) { this.txtUserName.Text = dataTable.Rows[0]["WaiterName"].ToString(); this.hdnUserName.Value = dataTable.Rows[0]["WaiterName"].ToString(); this.hdnUserCode.Value = dataTable.Rows[0]["WaiterCode"].ToString(); this.txtContent.Text = dataTable.Rows[0]["Content"].ToString(); } }
protected void setData(int recordId) { DataTable dataTable = ConferenceManage.QueryTemplateFraeInfo("OA_Meeting_Project", recordId); if (dataTable.Rows.Count == 1) { this.txtProjectName.Text = dataTable.Rows[0]["ProjectName"].ToString(); this.txtContent.Text = dataTable.Rows[0]["Content"].ToString(); this.hdnFilePath.Value = dataTable.Rows[0]["FilePath"].ToString(); this.txtOriginalName.Text = dataTable.Rows[0]["OriginalName"].ToString(); this.annexName.InnerText = dataTable.Rows[0]["OriginalName"].ToString(); } if (this.hdnFilePath.Value.Length > 0) { this.tr_add.Visible = false; this.tr_edit.Visible = true; return; } this.tr_add.Visible = true; this.tr_edit.Visible = false; }
protected void setData(int recordId) { DataTable dataTable = ConferenceManage.QueryTemplateFraeInfo("OA_Meeting_Templet_AttendMan", recordId); if (dataTable.Rows.Count == 1) { 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(); } }