// Code For Aggregator API


        protected void BindAggreAPIGrid(long AggreID)
        {
            iCompanySetupClient aggregator = new iCompanySetupClient();

            try
            {
                CustomProfile profile = CustomProfile.GetProfile();
                grdapidetail.DataSource = aggregator.GetAPIListByID(AggreID, profile.DBConnection._constr);
                grdapidetail.DataBind();
            }
            catch (System.Exception ex)
            {
                Login.Profile.ErrorHandling(ex, this, "Aggrgator Master", "BindAgregatorGridMain");
            }
            finally
            {
                aggregator.Close();
            }
        }