Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limiting records filling a dataset
Message
From
17/09/2002 17:52:09
Ron Hodge
Sebrex Systems, Inc.
Dacula, Georgia, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Limiting records filling a dataset
Miscellaneous
Thread ID:
00701537
Message ID:
00701537
Views:
51
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.
Ron Hodge
Sebrex Systems, Inc.
Atlanta, GA
Next
Reply
Map
View

Click here to load this message in the networking platform