F
Fred W.
I wondering if there is a way to determine which objects are bound to my
DataTable. I update my DataTable from a thread. My DataTable is bound to a
DataGrid in my main UI. Apparently I will need to perform my table update on
the UI Thread or the DataGrid has issues.
Ideally I would like the DataTable to tell me who is bound to it and then
check if that object implements ISynchronizeInvoke and use that to determine
that I need to actually perform the updates on that objects thread.
Otherwise, I will need to explicitely feed a reference of the GUI control to
my thread updating the DataTable. Any thoughts are appreciated. Thanks
-Fred
DataTable. I update my DataTable from a thread. My DataTable is bound to a
DataGrid in my main UI. Apparently I will need to perform my table update on
the UI Thread or the DataGrid has issues.
Ideally I would like the DataTable to tell me who is bound to it and then
check if that object implements ISynchronizeInvoke and use that to determine
that I need to actually perform the updates on that objects thread.
Otherwise, I will need to explicitely feed a reference of the GUI control to
my thread updating the DataTable. Any thoughts are appreciated. Thanks
-Fred