public void Bind(string title) { var data = rsvc.GetByTitle(title); PagedDataSource pds = new PagedDataSource(); pds.AllowCustomPaging = true; pds.DataSource = data; pds.PageSize = AspNetPager1.PageSize; pds.CurrentPageIndex = AspNetPager1.CurrentPageIndex - 1; AspNetPager1.RecordCount = data.Count; this.RepRolesList.DataSource = pds; this.RepRolesList.DataBind(); }