|
-
Sep 15th, 2006, 01:15 AM
#1
Thread Starter
Hyperactive Member
[2005] Threading/BackgroundWorker and dataset
Dear Folks,
i have seen almost all posts and links on this forum about the above topic
but i cant get to do what i want. And everything has made me confused thats why i need your help.
Scenario:
From a menu button on the mainform, I load a form(childform) that has a datagridview and a good number of controls. The form waits to show up untill the dataset that feeds that datagridview is filled with data. And the number of controls on this form also makes it longer for the form to show up.
So, to avoid puzzling up the user, i would like to show a progress form while the dataset is loading.After the dataset has loaded, the progessform should be disposed off and then the form showsup with the datagridview having all the data. This implies that i need to use a maquee kind of progess since i dont know how long it would take for my dataset to fill.This is not a problem.
How can i do this?
Should i use threading or a background worker and how?
Last edited by maps; Sep 15th, 2006 at 01:19 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|