Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

I want load huge data like 100000 records into datagridview. In between dataloading i want to show some image or form....

Thanks in advance
KNR.
Posted

 
Share this answer
 
Comments
K N R 12-Apr-12 10:26am    
Hi sanju,

I read this link. here i have one method. i call that method into do_work event.

that method have many loops. So it gives exception.
1. watch out for memoryoutofbounds exceptions.
2. I think you need to look at the BackgroundWorker class.
3. For the "Splashscreen" you can create a dialog and remove all window titles and control buttons (close, minimize, ...) Set the size to fixed. On that dialog you add a picturebox (or similar control) and maximize it (in winform dock fill). When you start loading you call Show or ShowDialog method on your splashscreen dialog and the Close method when loading is finished.

Hope this helps.
 
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