Click here to Skip to main content
15,889,492 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello everybody i want to write 'Loading' while datagridview is loading data from sql table
How can i do that?
Im using C# winForms
Posted

1 solution

You need to load the data in a background worker thread, so your main UI thread will remain responsive while the data loads. This will let you show a loading message on the dialog/form while the user is waiting for the data to load.
 
Share this answer
 

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