Expand|Select|Wrap|Line Numbers
- BackgroundWorkerFunction(BackgroundWorker b)
- - open DB2Connection
- - run query
- - close DB2Connection
- - RaiseEvent QueryDone
Can the BackgroundWorker act like a loop, so that there are multiple connections opening? I always assumed that the point of the BackgroundWorker class was for multithreading, but in this instance it's looking more like a loop.
Am I making sense, or am I just going crazy?
Thanks in advance!