A High-Level Overview of DataGrid Paging
In all of the previous DataGrid examples, the DataGrid creates an HTML <table> based on the data in its DataSource. The resulting HTML <table> contains a table row for each record in the DataSource. This approach guarantees displaying all of the DataSource's data in the DataGrid Web control.
With DataSources that contain large amounts of data, however, we don't necessarily want to display all of the DataSource at once. Rather, to make the data easier for the user to read and understand, we'd like to display only a portion of the data at a time. In addition, the user should be provided with some means for navigating to the data that is not currently being displayed.
These goals are accomplished by paging. ...
Get SAMS Teach Yourself ASP.NET in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.