Пример #1
0
        private void LoadLevels()
        {
            RateTableSettings settings = new RateTableSettings();

            settings.Merge(ShippingMethod.Settings);

            List <RateTableLevel> levels = settings.GetLevels();

            this.GridView1.DataSource = levels;
            this.GridView1.DataBind();
        }
Пример #2
0
        private void LoadLevels()
        {
            var settings = new RateTableSettings();

            settings.Merge(ShippingMethod.Settings);

            var levels = settings.GetLevels();

            gvRates.DataSource = levels;
            gvRates.DataBind();
        }