P
Paschalis Pagonidis
Hi all,
I'm trying to make an application tolerant to connection
faults. The concept is when the connection breaks while
running, the application warns user and a timer tries
periodically to recover the connection.
My questions are the following:
1. ADO.Net doesn't trigger the Connection.StateChanged
event until an sql command is being executed (and of
cource fails).
2. When I try to Open() the connection again,
Connection.State equals to ConnectionState.Open even if
NIC is disabled or unplugged!
Any recommendations?
thanks,
Pascal
I'm trying to make an application tolerant to connection
faults. The concept is when the connection breaks while
running, the application warns user and a timer tries
periodically to recover the connection.
My questions are the following:
1. ADO.Net doesn't trigger the Connection.StateChanged
event until an sql command is being executed (and of
cource fails).
2. When I try to Open() the connection again,
Connection.State equals to ConnectionState.Open even if
NIC is disabled or unplugged!
Any recommendations?
thanks,
Pascal