W
wilkokosten
Dear all,
I have the following question:
I want to populate a datagridview after my BackGroundWorker has finished. I
thought i could use the RunWorkerCompleted event to update my datagridview
but this is not working 'always'.
The strange thing is that when i use a bindingsource directly on the
datagridview a crossthread exception is thrown. But when i am using a typed
dataset it is going ok. I supposed both are created on the GUI thread, thats
why i want to use the RunWorkerCompleted event to update the gui after the
workerthread is finished.
Anybody suggestions?
Should i use the RunWorkerCompleted event for this purpose?
Kind Regards,
Wilko
I have the following question:
I want to populate a datagridview after my BackGroundWorker has finished. I
thought i could use the RunWorkerCompleted event to update my datagridview
but this is not working 'always'.
The strange thing is that when i use a bindingsource directly on the
datagridview a crossthread exception is thrown. But when i am using a typed
dataset it is going ok. I supposed both are created on the GUI thread, thats
why i want to use the RunWorkerCompleted event to update the gui after the
workerthread is finished.
Anybody suggestions?
Should i use the RunWorkerCompleted event for this purpose?
Kind Regards,
Wilko