Esempio n. 1
0
        private void BindRequests()
        {
            Pagination pagination = new Pagination();

            pagination.PageIndex = this.pager.PageIndex;
            pagination.PageSize  = this.pager.PageSize;
            int       total = 0;
            DataTable table = DistributorHelper.GetEtaoSites(pagination, this.userName, this.trueName, out total);

            this.grdDistributorSites.DataSource = table;
            this.grdDistributorSites.DataBind();
            this.pager.TotalRecords  = total;
            this.pager1.TotalRecords = total;
        }