Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Services (http://www.velocityreviews.com/forums/f64-asp-net-web-services.html)
-   -   Query some big data (http://www.velocityreviews.com/forums/t785835-query-some-big-data.html)

mehdi_mousavi 02-10-2006 04:34 PM

Query some big data
 
Hi folks,
Consider a "web method" that is supposed to return some data, say,
houndred of thousands of records in a form of a named dataset. The
question is that what's the official way to return this large block of
data chunk by chunk under an ASP.NET web service? We could consider
every web method's prototype as follows but this doesn't seem to be
neat solution:

public myDataSet1 QuerySomeData(int startPostion, int
totalNumberOfRecord/*whatever formal parameter goes here*/);

public myDataSet2 QuerySomeOtherData(int startPostion, int
totalNumberOfRecord/*whatever formal parameter goes here*/);

..
..
..

You see, this actually doesn't seem to be a perfect solution, since
I've to inject those two first parameters to ask the
"totalNumberOfRecord" to be returned from the "startPostion".

Any help would be highly appreciated,

Cheers,
M.Mousavi



All times are GMT. The time now is 06:54 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


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