private void BindProofGrid()
        {
            int Count = 0;

            try
            {
                customerId = int.Parse(customerVo.CustomerId.ToString());

                dsCustomerProof   = customerBo.GetCustomerProofs(customerId, mypager.CurrentPage, out Count);
                lblTotalRows.Text = hdnCount.Value = Count.ToString();
                if (dsCustomerProof.Tables[0].Rows.Count > 0)
                {
                    lblMsg.Visible         = false;
                    trPager.Visible        = true;
                    lblCurrentPage.Visible = true;
                    lblTotalRows.Visible   = true;
                    DataTable dtCustomerProofs = new DataTable();
                    dtCustomerProofs.Columns.Add("ProofCode");
                    dtCustomerProofs.Columns.Add("Proof Name");
                    dtCustomerProofs.Columns.Add("Proof Category");

                    DataRow drCustomerProof;

                    for (int i = 0; i < dsCustomerProof.Tables[0].Rows.Count; i++)
                    {
                        drCustomerProof    = dtCustomerProofs.NewRow();
                        drCustomerProof[0] = dsCustomerProof.Tables[0].Rows[i]["ProofCode"].ToString();
                        drCustomerProof[1] = dsCustomerProof.Tables[0].Rows[i]["ProofName"].ToString();
                        drCustomerProof[2] = dsCustomerProof.Tables[0].Rows[i]["ProofCategory"].ToString();

                        dtCustomerProofs.Rows.Add(drCustomerProof);
                    }
                    gvCustomerProofs.DataSource = dtCustomerProofs;
                    gvCustomerProofs.DataBind();
                    gvCustomerProofs.Visible = true;
                    this.GetPageCount();
                }
                else
                {
                    gvCustomerProofs.DataSource = null;
                    gvCustomerProofs.DataBind();
                    lblMsg.Visible         = true;
                    trPager.Visible        = false;
                    lblCurrentPage.Visible = false;
                    lblTotalRows.Visible   = false;
                }
            }

            catch (BaseApplicationException Ex)
            {
                throw Ex;
            }

            catch (Exception Ex)
            {
                BaseApplicationException exBase       = new BaseApplicationException(Ex.Message, Ex);
                NameValueCollection      FunctionInfo = new NameValueCollection();
                FunctionInfo.Add("Method", "ViewCustomerProofs.ascx:BindProofGrid()");
                object[] objects = new object[4];
                objects[0]   = customerVo;
                objects[1]   = customerId;
                objects[2]   = dsCustomerProof;
                objects[3]   = custBankAccId;
                FunctionInfo = exBase.AddObject(FunctionInfo, objects);
                exBase.AdditionalInformation = FunctionInfo;
                ExceptionManager.Publish(exBase);
                throw exBase;
            }
        }