protected void setData(int recordId) { DataTable dataTable = ConferenceManage.QueryApplyInfo(recordId); if (dataTable.Rows.Count == 1) { this.txtSendTo.Text = "发消息至 " + dataTable.Rows[0]["UserName"].ToString(); this.hdnMangeCode.Value = dataTable.Rows[0]["ManagerCode"].ToString(); } }
protected void setData(int recordId) { DataTable dataTable = ConferenceManage.QueryApplyInfo(recordId); if (dataTable.Rows.Count == 1) { this.LbMeetingRoom.Text = dataTable.Rows[0]["MeetingRoom"].ToString(); this.LbHumanNumber.Text = dataTable.Rows[0]["HumanNumber"].ToString(); this.LbTitle.Text = dataTable.Rows[0]["Title"].ToString(); this.LbUserDate.Text = dataTable.Rows[0]["UserDate"].ToString(); this.LBBeginDate.Text = dataTable.Rows[0]["BeginHour"].ToString() + ":" + dataTable.Rows[0]["BeginMinute"].ToString(); this.LbEndDate.Text = dataTable.Rows[0]["EndHour"].ToString() + ":" + dataTable.Rows[0]["EndMinute"].ToString(); this.LbContent.Text = dataTable.Rows[0]["Content"].ToString(); userManageDb userManageDb = new userManageDb(); this.LbUserName.Text = userManageDb.GetUserName(dataTable.Rows[0]["UserCode"].ToString()); } }
protected void setData(int recordId) { DataTable dataTable = ConferenceManage.QueryApplyInfo(recordId); if (dataTable.Rows.Count == 1) { this.txtMeetingRoom.Text = dataTable.Rows[0]["MeetingRoom"].ToString(); this.hdnMeetinRoomID.Value = dataTable.Rows[0]["MeetingRoomID"].ToString(); this.txtHumanNumber.Text = dataTable.Rows[0]["HumanNumber"].ToString(); this.txtTitle.Text = dataTable.Rows[0]["Title"].ToString(); this.dbUserDate.Text = dataTable.Rows[0]["UserDate"].ToString(); this.ddltBeginHour.SelectedValue = dataTable.Rows[0]["BeginHour"].ToString(); this.ddltBeginMinute.SelectedValue = dataTable.Rows[0]["BeginMinute"].ToString(); this.ddltEndHour.SelectedValue = dataTable.Rows[0]["EndHour"].ToString(); this.ddltEndMinute.SelectedValue = dataTable.Rows[0]["EndMinute"].ToString(); this.txtContent.Text = dataTable.Rows[0]["Content"].ToString(); } }