Click here to Skip to main content
15,918,742 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do i set Progress bar for datagridview loading time when buntton click ?

Note:
For Windows Forms
Posted
Comments
Andy Lanng 2-Nov-15 4:55am    
You will have to run multiple threads: 1 for your forms and another for the process.

Are you confident with multi-threading?
Sathish km 2-Nov-15 5:03am    
No. How to do? Give any example please
Andy Lanng 2-Nov-15 5:04am    
Ok - I just needed to know how much detail you'd need. Will post a solution shortly

1 solution

Actually, contrary to my comment I have found an article that describes it perfectly:

Progress Bars, Threads, Windows Forms, and You[^]

This article comes with a full demo as well as in-depth explanations of long running processes and form multi-threading.

It's quite a read but well worth it!

Good luck ^_^
Andy
 
Share this answer
 
Comments
Sathish km 2-Nov-15 5:11am    
thks...

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