Example #1
0
    void loadData(int ID)
    {
        DataTable dbCheckTags = objTags.GetDataById(ID);

        if (dbCheckTags.Rows.Count > 0)
        {
            txtTags.Text = dbCheckTags.Rows[0]["NAME"].ToString();
            int _status = Convert.ToInt32(dbCheckTags.Rows[0]["STATUS"].ToString());
            if (_status == 1)
            {
                chkStatus.Checked = true;
            }
            else
            {
                chkStatus.Checked = false;
            }
        }
    }
Example #2
0
 public DataTable dbTagsPresent()
 {
     return(objTags.GetDataById(Convert.ToInt32(Request.QueryString["TagsID"].ToString())));
 }