开发者

Implementing the gridview paging with database

开发者 https://www.devze.com 2022-12-12 17:18 出处:网络
I am binding dataset to a gridview,Which has 1000 records in it.As you know sending this entiredataset across a wire is costly.

I am binding dataset to a gridview,Which has 1000 records in it.As you know sending this entire dataset across a wire is costly. In the gridview i use paging which is set to 20 records per page. Since sending entire dataset is costly ,so i want to send 20 records at a time. How can i implement this? Is there any changes i need to do in the stored procedure? Anybody suggest me the pros and cons of this approach? Any pointers and reso开发者_运维问答urces are most welcome. TIA.


Custom paging. here explnation about some methods Hard implement and to maintain. Please write a bit more about data and what you do with it after it gets back from server, so we can help you with better suited option.


Similar to a post I answered couple days ago:
What is the best procedure to implement paging in a gridview considering size of Record ?

0

精彩评论

暂无评论...
验证码 换一张
取 消