R
Ryan
Using VS 2005, I created data adapters using the IDE. I store a
connection object in My.Settings (cool feature) collection. What I'd
like to do is seemlessly changed my connection on the fly. Say for
instance the production server is down due to network or server hang,
the applicaiton should start writing to its own instance of SQL
server. I wanted to use the StatusChanged event but its not firing on
the Fill method. Each time I instantiate my adapter in a routine, I
set the connection to the one in My.Settings because the connection
might be different (local, production, development). It was firing at
one time but hasn't done it since. Don't know what I did to deserve
that. Any help would be greatly appreciated
Thanks in advance,
Ryan
connection object in My.Settings (cool feature) collection. What I'd
like to do is seemlessly changed my connection on the fly. Say for
instance the production server is down due to network or server hang,
the applicaiton should start writing to its own instance of SQL
server. I wanted to use the StatusChanged event but its not firing on
the Fill method. Each time I instantiate my adapter in a routine, I
set the connection to the one in My.Settings because the connection
might be different (local, production, development). It was firing at
one time but hasn't done it since. Don't know what I did to deserve
that. Any help would be greatly appreciated
Thanks in advance,
Ryan