Beispiel #1
0
        private void BindPromoteProducts()
        {
            Pagination page = new Pagination();

            page.PageSize  = 10;
            page.PageIndex = pagerBuyToSend.PageIndex;
            page.SortOrder = SortAction.Desc;
            page.SortBy    = "DisplaySequence";
            DbQueryResult activeProducts = PromoteHelper.GetActiveProducts(page, activeId);

            dlstSearchProducts.DataSource = activeProducts.Data;
            dlstSearchProducts.DataBind();
            pagerBuyToSend.TotalRecords = activeProducts.TotalRecords;
        }