Пример #1
0
        private void BindCoupons()
        {
            Pagination page = new Pagination();

            page.PageSize  = pager.PageSize;
            page.PageIndex = pager.PageIndex;
            DbQueryResult overdueCoupons = CouponHelper.GetOverdueCoupons(page);

            grdCoupons.DataSource = overdueCoupons.Data;
            grdCoupons.DataBind();
            pager.TotalRecords = overdueCoupons.TotalRecords;
        }