private void FillCustomerDeatilGrid() { try { iUserCreationClient userClient = new iUserCreationClient(); CustomProfile profile = CustomProfile.GetProfile(); //GvAccount.DataSource = AccountClient.GetGetCustomerDetail(profile.Personal.UserID,profile.DBConnection._constr);//UserID added by vishal old GvAccount.DataSource = userClient.GWCSearchUserList(CompanyID, DeptId, profile.DBConnection._constr); //Change by Suresh For GCC Admin Invoiceing iCompanySetupClient Cmpny = new iCompanySetupClient(); // GvAccount.DataSource = Cmpny.GetInstituteDetails(profile.DBConnection._constr); if (GvAccount.DataSource != null) { GvAccount.DataBind(); } userClient.Close(); } catch (System.Exception ex) { // Login.Profile.ErrorHandling(ex, this, "AccountSearch.aspx", "FillCustomerDeatilGrid"); } finally { } }