private void BindOrderGifts()
        {
            PurchaseOrderGiftQuery query = new PurchaseOrderGiftQuery();

            query.PageSize        = 10;
            query.PageIndex       = this.pagerOrderGifts.PageIndex;
            query.PurchaseOrderId = this.purchaseOrderId;
            DbQueryResult purchaseOrderGifts = SubsiteSalesHelper.GetPurchaseOrderGifts(query);

            this.dlstOrderGifts.DataSource = purchaseOrderGifts.Data;
            this.dlstOrderGifts.DataBind();
            this.pagerOrderGifts.TotalRecords = purchaseOrderGifts.TotalRecords;
        }
Example #2
0
        private void BindOrderGifts()
        {
            DbQueryResult purchaseOrderGifts = SubsiteSalesHelper.GetPurchaseOrderGifts(new PurchaseOrderGiftQuery
            {
                PageSize        = 10,
                PageIndex       = this.pagerOrderGifts.PageIndex,
                PurchaseOrderId = this.purchaseOrderId
            });

            this.dlstOrderGifts.DataSource = purchaseOrderGifts.Data;
            this.dlstOrderGifts.DataBind();
            this.pagerOrderGifts.TotalRecords = purchaseOrderGifts.TotalRecords;
        }