protected void btnDelete_Click(object sender, EventArgs e)
    {
        CheckBox ch;

        try
        {
            for (int i = 0; i < gvData.Items.Count; i++)
            {
                ch = (CheckBox)gvData.Items[i].Cells[0].FindControl("chkRow");
                if (ch.Checked == true)
                {
                    gLAccountListUI.Tbl_GLAccountId = gvData.Items[i].Cells[1].Text;

                    if (gLAccountListBAL.DeleteGLAccount(gLAccountListUI) == 1)
                    {
                        divSuccess.Visible = true;
                        divError.Visible   = false;
                        lblSuccess.Text    = Resources.GlobalResource.msgRecordDeleteSuccessfully;
                    }
                    else
                    {
                        divError.Visible   = true;
                        divSuccess.Visible = false;
                        lblError.Text      = Resources.GlobalResource.msgCouldNotDeleteRecord;
                    }
                }
            }
            BindList();
        }
        catch (Exception exp)
        {
            logExcpUIobj.MethodName       = "btnDelete_Click()";
            logExcpUIobj.ResourceName     = "Finance_General_Ledger_GL_Integration_GLAccountList.CS";
            logExcpUIobj.RecordId         = gLAccountListUI.Tbl_GLAccountId;
            logExcpUIobj.ExceptionDetails = "Error Occured. System Generated Error is: " + exp.ToString();
            logExcpDALobj.SaveExceptionToDB(logExcpUIobj);

            log.Error("[Finance_General_Ledger_GL_Integration_GLAccountList : btnDelete_Click] An error occured in the processing of Record Id : " + gLAccountListUI.Tbl_GLAccountId + ". Details : [" + exp.ToString() + "]");
        }
    }