protected void MainRateCardGrid() { iCompanySetupClient Ratecard = new iCompanySetupClient(); try { CustomProfile profile = CustomProfile.GetProfile(); grdratecard.DataSource = Ratecard.GetRateCardDetails(profile.DBConnection._constr); grdratecard.DataBind(); } catch (System.Exception ex) { Login.Profile.ErrorHandling(ex, this, "Account Master", "MainCustomerGridBind"); } finally { Ratecard.Close(); } }