Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to load data as needed in a DataSet

Posted on 2006-10-20
4
Medium Priority
?
200 Views
Last Modified: 2010-04-23
Hi!

my ask is so simple. I only want to know if exist any way, in Visual Studio 2005, to load data in a DataSet as needed. I mean, in example when i use a BindingNavigator, i want to load more rows of a table when i have saw a 95% of the current loaded rows, and i want to do it automatically...Exists any way to do this? Java has an implementation of this functionality in his dataQuery object, can i do the same with a Dataset or DataTable or DataAdapter object or i have to do it with several querys?

Thanks in advance!
0
Comment
Question by:Synth2
4 Comments
 
LVL 10

Expert Comment

by:Kinger247
ID: 17783910
I don't know of an automated way to do this, but I would personally create the Dataset manually then keep adding to it as and when.
Would be easy enough to do ...
0
 
LVL 41

Accepted Solution

by:
graye earned 240 total points
ID: 17802995
in VB.Net 2005, the DataAdapter's Fill method as a new "overload" that allows you to fill a datatable in "chunks"...   For example, you could create a loop that would fill 1000 rows at a time, then update a progress bar (as an example), and continue to fill the DataTable with 1000 rows at a time.

http://msdn2.microsoft.com/en-us/library/kxs7kbfe.aspx
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question