private void DeleteProof()
        {
            bool result    = false;
            int  proofCode = 0;

            try
            {
                foreach (GridViewRow dr in gvCustomerProofs.Rows)
                {
                    CheckBox checkBox = (CheckBox)dr.FindControl("chkBx");
                    if (checkBox.Checked)
                    {
                        proofCode = Convert.ToInt32(gvCustomerProofs.DataKeys[dr.RowIndex].Values["ProofCode"].ToString());
                        result    = customerBo.DeleteCustomerProof(customerVo.CustomerId, proofCode);
                        if (result)
                        {
                            Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "pageloadscript", "alert('Deleted Successfully..');", true);
                        }
                        else
                        {
                            Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "pageloadscript", "alert('Sorry..');", true);
                        }
                    }
                }
                BindProofGrid();
            }
            catch (BaseApplicationException Ex)
            {
                throw Ex;
            }
            catch (Exception Ex)
            {
                BaseApplicationException exBase       = new BaseApplicationException(Ex.Message, Ex);
                NameValueCollection      FunctionInfo = new NameValueCollection();
                FunctionInfo.Add("Method", "ViewBranchDetails.ascx.cs:DeleteTerminalId()");
                object[] objects = new object[2];
                objects[0]   = proofCode;
                objects[1]   = result;
                FunctionInfo = exBase.AddObject(FunctionInfo, objects);
                exBase.AdditionalInformation = FunctionInfo;
                ExceptionManager.Publish(exBase);
                throw exBase;
            }
        }