コード例 #1
0
        private void BindBundlingProducts()
        {
            DbQueryResult bundlingProducts = SubsitePromoteHelper.GetBundlingProducts(new BundlingInfoQuery
            {
                ProductName = this.productName,
                PageIndex   = this.pager.PageIndex,
                PageSize    = this.pager.PageSize,
                SortBy      = "DisplaySequence",
                SortOrder   = SortAction.Desc
            });

            this.grdBundlingList.DataSource = bundlingProducts.Data;
            this.grdBundlingList.DataBind();
            this.pager.TotalRecords  = bundlingProducts.TotalRecords;
            this.pager1.TotalRecords = bundlingProducts.TotalRecords;
        }