protected void Bind_GridViewAccounts(string term)
        {
            List <Classes.Entity.Account> accounts = accountBLL.GetAllAccounts(term);

            ViewState["GridViewAccounts"] = accounts;
            GridViewAccounts.DataSource   = accounts;
            GridViewAccounts.DataBind();
        }
 protected void GridViewAccounts_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     GridViewAccounts.PageIndex  = e.NewPageIndex;
     GridViewAccounts.DataSource = ViewState["GridViewAccounts"];
     GridViewAccounts.DataBind();
 }