Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to set the increment for progress bar control on executing a schema db file via c# code behind..Also when the process over want to hide the progresss bar....
Posted

1 solution

Try using BackGround Worker
BackgroundWorker and ProgressBar demo[^]
 
Share this answer
 
Comments
Korathu 2 21-Apr-13 13:09pm    
In my case how i can loop on executing a db schema file....How long i should set the thread to sleep...else if i set to 100 execution of schema won't be over by that time...
poteswapnil 21-Apr-13 13:17pm    
that is the twist in progress bar!
you cannot tell exactly how much time it is going to take to perform the action.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900