One good approach to writing better paging code is to use stored procedures.
一个写出更好的分页代码的办法是使用存储过程。
With the improvements in ASP.NET 2.0, this code can be significantly reduced to produce a data-filled grid with full paging, sorting, and editing features.
通过ASP.NET 2.0中的改进功能,可以显著减少这些代码的数量,以产生带有完整分页、排序和编辑功能并填充了数据的网格。
We'll show how you can reduce code by incorporating paging of data and querying in the generic DAO.
我们将演示如何在泛型 DAO 中集成数据分页和查询,从而减少代码。
应用推荐