G
Guest
Hi,
I have a form in main thread. I also use a 2nd thread as datalayer for
dataset <--> SQL Server. I have some controls that binds with the dataset.
When the 2nd thread modifies the dataset, it will trigger events of a
control that binds to the dataset. My question is if the event run on the 2nd
thread or the main thread?
When I step in, I check Me.InvokeRequired and it's True. Does that mean the
event run on the 2nd (background) thread?
Thanks in advance.
Li
I have a form in main thread. I also use a 2nd thread as datalayer for
dataset <--> SQL Server. I have some controls that binds with the dataset.
When the 2nd thread modifies the dataset, it will trigger events of a
control that binds to the dataset. My question is if the event run on the 2nd
thread or the main thread?
When I step in, I check Me.InvokeRequired and it's True. Does that mean the
event run on the 2nd (background) thread?
Thanks in advance.
Li