ASP.NET实现分页功能
2009-12-05 20:43
453 查看
There are two main ways to implement paging:
• Paging at the database level: In this case, the database returns only the page of products
the visitor wants to see.
• Paging at the application level: In this scenario, the data tier always returns the complete
list of products for a certain section of the site, and the presentation tier objects (such as
the GridView control) extract the requested page of products from the complete list. This
method has potential performance problems especially when dealing with large result
sets, because it transfers unnecessarily large quantities of data from the database to the
presentation tier. Additional data also needs to be stored on the server’s memory, unneces-
sarily consuming server resources.
Not original,copied from, :Beginning ASP.NET E-Commerce in C# From Novice to Professional.
• Paging at the database level: In this case, the database returns only the page of products
the visitor wants to see.
• Paging at the application level: In this scenario, the data tier always returns the complete
list of products for a certain section of the site, and the presentation tier objects (such as
the GridView control) extract the requested page of products from the complete list. This
method has potential performance problems especially when dealing with large result
sets, because it transfers unnecessarily large quantities of data from the database to the
presentation tier. Additional data also needs to be stored on the server’s memory, unneces-
sarily consuming server resources.
Not original,copied from, :Beginning ASP.NET E-Commerce in C# From Novice to Professional.
相关文章推荐
- 在ASP.NET中实现自定义分页功能
- Asp.net EasyUI中的combogrid实现分页功能
- 在ASP.NET中实现自定义分页功能
- c# asp.net 实现分页(pager)功能
- ASP.NET - 自定义控件【第十天 实现分页功能的DataList(附该系列文章PDF版本)】
- ASP.NET实现新闻页面的分页功能[生成静态版]
- ASP.NET MVC分页和排序功能实现
- ASP.Net MVC+Data Table实现分页+排序功能的方法
- ASP.NET使用ajax实现分页局部刷新页面功能
- ASP.NET中利用DataGrid的自定义分页功能和存储过程结合实现高效分页
- ASP.NET中利用DataGrid的自定义分页功能和存储过程结合实现高效分页
- ASP.NET中利用DataGrid的自定义分页功能和存储过程结合实现高效分页[转]
- ASP.NET实现新闻页面的分页功能[生成静态版]
- ASP.NET中利用DataGrid的自定义分页功能和存储过程结合实现高效分页
- Asp.net MVC 中利用jquery datatables 实现数据分页显示功能
- Asp.Net实现长文章分页显示功能
- ASP.NET中利用DataGrid的自定义分页功能和存储过程结合实现高效分页
- ASP.NET中利用DataGrid的自定义分页功能和存储过程结合实现高效分页
- ASP.NET中利用DataGrid的自定义分页功能和存储过程结合实现高效分页