public void FillGrid(string Acode)
        {
            try
            {
                DataTable Dt = new DataTable();

                Dt = ACCOUNTS_DETLogicLayer.GetAllACCOUNTS_DETDetials(Convert.ToInt32(Session["USERCODE"].ToString()), Convert.ToInt32(Session["COMP_CODE"].ToString()));
                DataView Dv = new DataView(Dt);
                if (Acode != string.Empty)
                {
                    Dv.RowFilter = "ACODE=" + HfACODE.Value;
                }
                DtSearch = Dv.ToTable();
                GvAccContact.DataSource = Dv.ToTable();
                GvAccContact.DataBind();
            }
            catch (Exception)
            {
                throw;
            }
        }
 protected void TxtSearch_TextChanged(object sender, EventArgs e)
 {
     try
     {
         if (TxtSearch.Text != string.Empty)
         {
             DataView Dv = new DataView(DtSearch);
             Dv.RowFilter            = "CONTACT_NAME like '%" + TxtSearch.Text.Trim() + "%' OR MAIL_ID like '%" + TxtSearch.Text.Trim() + "%' OR AccountName like '%" + TxtSearch.Text.Trim() + "%'";
             GvAccContact.DataSource = Dv.ToTable();
             GvAccContact.DataBind();
         }
         else
         {
             GvAccContact.DataSource = DtSearch;
             GvAccContact.DataBind();
         }
     }
     catch (Exception)
     {
         throw;
     }
 }