I have a code. But, due to my limited knowledge. i researched and realised i can use wait cursor and background thread while waiting the items to be loaded. how can i implement the use cursor or thread in this example?
http://imageshack.us/photo/my-images/703/screenshot20120617at243.png/
When working with CSV files I would strongly recommend using a 3rd party library – FileHelpers is one that I have used before and believe it to be excellent as parsing Excel files. In terms of executing the work / parsing it will depend on which version of the .NET framework you are using and if it is a web application or a thick client app.
Assuming that your application is .NET 2.0+ and a Winforms / WPF application you would be best using the
BackgroundWorkerclass. There are a ton of examples on Google in using it and the MSDN documentation can be found here: http://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker.aspx