Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to do paging in web service

Reply
Thread Tools

How to do paging in web service

 
 
Donald Adams
Guest
Posts: n/a
 
      03-06-2007
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

 
Reply With Quote
 
 
 
 
=?Utf-8?B?QWRsYWkgTWFzY2hpYWNo?=
Guest
Posts: n/a
 
      03-06-2007
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/


"Donald Adams" wrote:

> 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
>

 
Reply With Quote
 
 
 
 
Donald Adams
Guest
Posts: n/a
 
      03-08-2007
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

"Adlai Maschiach" <> wrote in
message news:38680CA2-D33C-4340-8959-...
> 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/
>
>
> "Donald Adams" wrote:
>
>> 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
>>

 
Reply With Quote
 
Teemu Keiski
Guest
Posts: n/a
 
      03-08-2007
They do it by using PagedDataSource class.

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net



"Donald Adams" <> wrote in message
news:C1636943-61E2-463F-B2F7-...
> 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
>
> "Adlai Maschiach" <> wrote in
> message news:38680CA2-D33C-4340-8959-...
>> 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/
>>
>>
>> "Donald Adams" wrote:
>>
>>> 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
>>>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
Combining numeric mode paging and nextPreview paging in datagrid Red ASP .Net 1 03-12-2005 11:41 PM
datagrid paging - customising paging style wh1974 ASP .Net 0 01-12-2005 03:48 PM
DataSet paging vs Datareader paging =?Utf-8?B?UGF0cmljay5PLklnZQ==?= ASP .Net 1 10-08-2004 02:13 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57