Example #1
0
    protected void setData(int recordId)
    {
        DataTable dataTable = ConferenceManage.QueryConferenceTopic(recordId);

        if (dataTable.Rows.Count == 1)
        {
            this.txtTopic.Text   = dataTable.Rows[0]["Topic"].ToString();
            this.txtContent.Text = dataTable.Rows[0]["Content"].ToString();
        }
    }