Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limiting records filling a dataset
Message
 
To
17/09/2002 17:52:09
Ron Hodge
Sebrex Systems, Inc.
Dacula, Georgia, United States
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00701537
Message ID:
00701557
Views:
15
This message has been marked as the solution to the initial question of the thread.
Here is an article:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconpagingthroughqueryresult.asp



>Hi,
>I'm setting up lookup screens on forms and I'd like to limit the number of records retrieved, and have a "More..." button to retrieve the next group, etc. The fields and operators searched on are selected from combo boxes. The first batch of records I'm limiting with a TOP clause.
>
>I'm trying to rotate the next sets of records thru the dataset with the fill command that limits the number of records retrieved. The protected fill method with the signature
>(Dataset, integer, integer, string, ldbcommand, commandbehavior) would be useful, but apparently is not accessible, since it's in an abstract class only.
>
>I'm sure limiting the number of records retrieved is a common problem in client server, so can someone give me an example of how to bring records down in chunks, or tell me how to use the above fill method?
>
>TIA.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform