October 2010
Intermediate to advanced
1920 pages
73h 55m
English
Data source paging enables you to write custom logic for retrieving pages of database records. You can perform the paging in the component, a stored procedure, or a LINQ to SQL query.
If you want the best performance, you should write your paging logic in either a stored procedure or a LINQ query. We examine both approaches in this section.
Chapter 20 is devoted to the topic of LINQ.
The page in Listing 18.20 contains an ObjectDataSource control with data source paging enabled.
Listing 18.20. ShowDSPaging.aspx


The
Read now
Unlock full access