protected void btnSave_Click(object sender, EventArgs e)
 {
     using (AccountCategory objAccountCategory = new AccountCategory())
     {
         objAccountCategory.AccountCategoryName     = txtCategoryName.Text;
         objAccountCategory.AccountCategoryTypeCode = ddlCategoryType.SelectedValue.ToString();
         objAccountCategory.CreatedBy    = Request.Cookies["Speedo"]["UserName"].ToString();
         objAccountCategory.RecordOrder  = Convert.ToInt16(txtRecordOrder.Text);
         objAccountCategory.CreatedOn    = DateTime.Now;
         objAccountCategory.ModifiedBy   = Request.Cookies["Speedo"]["UserName"].ToString();
         objAccountCategory.ModifiedOn   = DateTime.Now;
         objAccountCategory.RecordStatus = "1";
         if (objAccountCategory.Insert() > 0)
         {
             this.LoadList();
         }
     }
 }