A
Author #1
I am surprised to see how rarely people talk about paging in this
group. At least when I simply search for "paging", I got only one
search result
I am not interested in the GridView built-in paging since it retrieves
all from the database and only displays the pageful. It adds a whole
lot more network overhead than is necessary, doesn't it?
I've read a little online and found that all of them resort to
objectdatasource property of the GridView control. I don't like this
objectdatasource idea. I want to bind the result in my C# code-behind
when user clicks on a page number.
Anyone has a better solution? Will the asp.net 3.5 DataPager control
help? Thank you.
group. At least when I simply search for "paging", I got only one
search result
I am not interested in the GridView built-in paging since it retrieves
all from the database and only displays the pageful. It adds a whole
lot more network overhead than is necessary, doesn't it?
I've read a little online and found that all of them resort to
objectdatasource property of the GridView control. I don't like this
objectdatasource idea. I want to bind the result in my C# code-behind
when user clicks on a page number.
Anyone has a better solution? Will the asp.net 3.5 DataPager control
help? Thank you.