ASP.NET 2.0 - Custom Paging for GridView VS GridView Built-In Paging? Which one?
Wonder which one is faster. In the past, [correct me if I am wrong] developers chose to use custom paging instead of relying on datagrid paging.
Extra Information: You can use IDENTITY to do this custom paging.
How about now? I had seen articles people still recommeding custom paging using ROW_Function() which was part of SQL Server 2005 instead of relying on GridView paging.
Extra Information: You can do this:
SELECT ROW_Function() OVER (ORDER BY ProductID) AS Row, SomeProduct
FROM Product
WHERE ProductID = '1'
But most articles demonstrated on how to use GridView Paging. Maybe due to the simplicity of having a GridView pointing to a datasource and enabling sorting + paging without writing codes.
I can't visualize myself except I have multi millions of records in my database to test :P