how to to implement multithreading where one thread updating UI and other one is reading the database record in windows application
Any guidelines really appreciated...
how to to implement multithreading where one thread updating UI and other one is reading the database record in windows application
Any guidelines really appreciated...
you should look at the BackgroundWorker.
This will allow you to start the database operations on a background thread, so that your UI is not locked and also to report progress back to the main thread so you can update the UI with the results.
You already have your UI thread running. Hence create a thread/BackgroundWorker for the db operation.