In my previous article, Paging in SQL Server 2005, I demonstrated how to support paging the results of a SQL query inside of a stored procedure. In this two-part article, I will tie that logic to an ASP.NET page with a GridView and DetailsView to demonstrate an efficient way to incorporate paging and updating through an ObjectDataSource. Along the way we will use the Class Diagram tool and the Web Application Project template (added to Visual Studio 2005 by Service Pack 1), although you are free
Developers and database administrators have long debated methods for paging recordset results from Microsoft SQL Server, trying to balance ease of use with performance. The simplest methods were less efficient because they retrieved entire datasets from SQL Server before eliminating records which were not to be included, while the best-performing methods handled all paging on the server with more complex scripting. The ROW_NUMBER() function introduced in SQL Server 2005 provides an efficient way
使用SQL Server 2005数据库的新函数ROW_NUMBER()在asp.net 2.0中实现自定义分页,提供示例代码下载。
创建Ajax分页控件,提供示例代码下载。
微软.net平台负责人Scott Guthrie演示如何在asp.net 2.0中使用ObjectDataSource和DataList控件进行高效分页,提供示例代码下载。
Scott Guthrie示例如何使用asp.net 2.0中的新特性和ajax技术对大数据量的数据进行高效分页以及实现无刷新的编辑、删除单条记录的功能。
使用SQL Server 2005的新函数ROW_NUMBER()实现在存储过程中高效分页。
创建应用于asp.net的分页控件,支持asp.net 1.1和2.0,提供VB和C#源代码及示例项目,并演示了在SQL Server 2000和2005中不同的分页方法。
演示如何用PagedDataSource对Repeater控件进行分页,提供源代码下载。
为Repeater和DataList控件添加分页功能,提供示例代码下载。
对比分析SQL Server 2000中几种不同的分页方法在asp.net应用程序中的分页性能,提供示例代码下载。
创建asp.net分页用户控件,提供源代码下载。
创建可以在客户端实现分页功能的DataGrid控件
CSDN社区SQL Server版大版主邹建的SQL Server通用分页存储过程。
解决向任何 ASP.NET 控件添加分页功能的问题。还为开发复合 ASP.NET 控件提供了很多有用的提示和技巧。