protected void btnSave_Click(object sender, EventArgs e)
 {
     using (AccountCategory objAccountCategory = new AccountCategory())
     {
         objAccountCategory.AccountCateogryCode     = Convert.ToInt16(Request.QueryString["accnt_cat_code"]);
         objAccountCategory.AccountCategoryName     = txtAccountCategoryName.Text;
         objAccountCategory.AccountCategoryTypeCode = ddlCategoryType.SelectedValue.ToString();
         objAccountCategory.RecordOrder             = Convert.ToInt16(txtRecordOrder.Text);
         objAccountCategory.ModifiedBy   = Request.Cookies["Speedo"]["UserName"].ToString();
         objAccountCategory.RecordStatus = chkbEnable.Checked == true ? "1" : "0";
         if (objAccountCategory.Update() > 0)
         {
             Response.Redirect("CategoryMaintenance.aspx?rccode=" + Request.QueryString["rccode"] + "");
             //string requestPage = this.hdnURL.Value.ToString();
             //Response.Redirect(requestPage, true);
         }
     }
 }