DataSet and thread
- From: "shark" <mark@xxxxxxxxxxxxxx>
- Date: Wed, 19 Dec 2007 11:37:05 +0100
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
.
- Follow-Ups:
- Re: DataSet and thread
- From: Marc Gravell
- Re: DataSet and thread
- From: Jon Skeet [C# MVP]
- Re: DataSet and thread
- Prev by Date: Re: Evaluation order when i++ is used
- Next by Date: Re: DataSet and thread
- Previous by thread: Oracle Data Provider Issue
- Next by thread: Re: DataSet and thread
- Index(es):