How to do paging in web service

D

Donald Adams

I will have both web and win clients and would like to page my data. I
could not find out how the datagrid control does it's paging.

What library/methods can I use in .Net 2.0 to do paging of SQL data in a web
service?

Thanks in advance,
Donald Adams
 
G

Guest

Hi

did you think using the "RowNum" of the Sql2005 ?
this way you can send to the WebService
which would call the SP with from RowNum and To RowNum
and you'de get the relevant rows
from example from row 50 to 59

--
-------------------------------------
If my answer helped you please press "Yes" bellow

×× ×ª×©×•×‘×” זו עזרה לך, ×× × ×”×¦×‘×¢ "כן"

Adlai Maschiach
http://blogs.microsoft.co.il/blogs/adlaim/
 
D

Donald Adams

Hi,

Thanks, I can use that, but I'm actually wanting to know how does dataGrid
use my SqlDataObject, or ObjectSource and add paging and sorting to it....
so I can do the same in my webservice.
A code sample would be most helpful.

,,,Donald Adams
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top