Link to home
Start Free TrialLog in
Avatar of TrialUser
TrialUserFlag for Afghanistan

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
Avatar of anillucky31
anillucky31
Flag of India image

As you are doing paging now at database level. So you have to write your own pager control.
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.
Avatar of TrialUser

ASKER

What about the datapager control?
ASKER CERTIFIED SOLUTION
Avatar of anillucky31
anillucky31
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Alpesh Patel
existing pager control is the good one.
thx a ton