Link to home
Start Free TrialLog in
Avatar of 0nepiece
0nepieceFlag for Philippines

asked on

How do you know which ConnectionString is currently in use?

How do you know which ConnectionString is currently in use in the appConfig? I'm using C# .NET 2005 Windows Forms. Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 0nepiece

ASKER

Umm, the connection string currently used by the application / the 'active' connection? Is there like a flag saying that the a particular connection string is being used by the application?
there's not really such thing as an "active connection" in your app.config: it's just an XML file storing configuration values. Meaning that it all depends on what your application is doing with those values :)
Ok got that. Thanks!