D
Daniel Bello Urizarri
Hello:
I'm creating and opening an OleDbConnection on the main thread of my
application, but I need that to close connection with a timer.
When the method connection.Close() is called on the timer method, the thread
is locked and the next code line is never executed.
Why a connection can't be closed from another thread? Is this a bug? If so..
is documented?
With SqlConnection everything works ok.
I'm creating and opening an OleDbConnection on the main thread of my
application, but I need that to close connection with a timer.
When the method connection.Close() is called on the timer method, the thread
is locked and the next code line is never executed.
Why a connection can't be closed from another thread? Is this a bug? If so..
is documented?
With SqlConnection everything works ok.