M
Martin Arvidsson
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
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