DataSet and thread

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi.

I have DataGridView bound to my dataset through bindingsource component. My dataset is filled on separate thread. While this thread is working I receive "Cross-thread operation not valid" exception because bindingsource tries to update grid cells from another thread (invoke is required).
How to handle such scenario ?

Thanks

SS

.