TrialUser
asked on
server side paging and datapager
I have created a sql server 2008 stored procedure tthat supports SQL Server side paging.
I use ADO.net to connect to the sql , execute the stored procedure and bind the results to a listview to display product results from a search.
If I use datapager, it seems like I need to significantly change the way I bind data. Is it easier to do paging using datapager or create my own pager control? I need the pager to be displayed on the top and bottom. Thanks
I use ADO.net to connect to the sql , execute the stored procedure and bind the results to a listview to display product results from a search.
If I use datapager, it seems like I need to significantly change the way I bind data. Is it easier to do paging using datapager or create my own pager control? I need the pager to be displayed on the top and bottom. Thanks
ASKER
What about the datapager control?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
existing pager control is the good one.
ASKER
thx a ton
You need to change lot of thing now. you have to make you customize function to handle paging now in .net and has to calculate startindex and endindex of page by yourself.
Databind will remain as it only paging functionality u have to change.