Tip on filling DataSet in C#
- From: "Martin Arvidsson" <yeahright@xxxxxx>
- Date: Tue, 31 Oct 2006 20:18:19 +0100
Hi all gurus out there!
When i use the Wizard to create some fields from a table it creates, the
dataset, bindingsource and tableadapter.
Now for the problem. When i open that form in my program, it automaticly
fills the dataset with all the records in the table. In this case there is
over one milion records. It takes ages to fill the dataset and view the
form.
So i created a Fill procedure that only gets the first 1000. Now if the
customer want to search beond this record how can i do that, ie fill the
dataset with the next record from the table....
Alla in all, i just want to fill the dataset with x records, then fill x
record at a time when clicking next.
Any suggestions, links to a nice page describing this problem?
Regards
Martin
.
- Follow-Ups:
- Re: Tip on filling DataSet in C#
- From: William \(Bill\) Vaughn
- Re: Tip on filling DataSet in C#
- Prev by Date: Re: Load dataset faster? 45K items in 18 seconds too slow
- Next by Date: Re: Dot Net 2.0 or SQL Server 2005 problem?
- Previous by thread: DataGridView, taking the user back to the last selected row
- Next by thread: Re: Tip on filling DataSet in C#
- Index(es):
Relevant Pages
|
Loading