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

            pagination.PageIndex = this.pager.PageIndex;
            pagination.PageSize  = this.pager.PageSize;
            int totalRecords = 0;

            System.Data.DataTable etaoRequests = DistributorHelper.GetEtaoRequests(pagination, this.userName, this.trueName, out totalRecords);
            this.grdDistributorSites.DataSource = etaoRequests;
            this.grdDistributorSites.DataBind();
            this.pager.TotalRecords  = totalRecords;
            this.pager1.TotalRecords = totalRecords;
        }