public void BindAgregatorGridMain() { iCompanySetupClient aggregator = new iCompanySetupClient(); try { CustomProfile profile = CustomProfile.GetProfile(); grdaggregator.DataSource = aggregator.GetAggregatorList(profile.DBConnection._constr); grdaggregator.DataBind(); } catch (System.Exception ex) { Login.Profile.ErrorHandling(ex, this, "Aggrgator Master", "BindAgregatorGridMain"); } finally { aggregator.Close(); } }