Exemplo n.º 1
0
    protected void setData()
    {
        DataTable dataTable = ConferenceManage.QueryOneBoardroom(this.RecordId);

        if (dataTable.Rows.Count == 1)
        {
            this.txtMeetingRoom.Text  = dataTable.Rows[0]["MeetingRoom"].ToString();
            this.txtCorpCode.Text     = dataTable.Rows[0]["CorpName"].ToString();
            this.hdnCorpCode.Value    = dataTable.Rows[0]["CorpCode"].ToString();
            this.txtLocation.Text     = dataTable.Rows[0]["Location"].ToString();
            this.txtHumanNumber.Text  = dataTable.Rows[0]["humanNumber"].ToString();
            this.txtUserName.Text     = dataTable.Rows[0]["ManagerName"].ToString();
            this.hdnUserCode.Value    = dataTable.Rows[0]["ManagerCode"].ToString();
            this.txtRelationMode.Text = dataTable.Rows[0]["RelationMode"].ToString();
            this.txtContent.Text      = dataTable.Rows[0]["Content"].ToString();
        }
    }