L
Lilian
Hi,
VS2K8, .NET 2.0
In a standard SQL Server client application the connection string is stored
in my .config file.
I would like the user to be able to switch from one database to another
without exiting the application.
When updating the .config using ConfigurationManager class, and Save()
method I can achieve changes in the file.
The problem is that once Save() has been called, the connection string value
obtained by reading through ConfigurationManager still contains the old value.
Any idea ?
VS2K8, .NET 2.0
In a standard SQL Server client application the connection string is stored
in my .config file.
I would like the user to be able to switch from one database to another
without exiting the application.
When updating the .config using ConfigurationManager class, and Save()
method I can achieve changes in the file.
The problem is that once Save() has been called, the connection string value
obtained by reading through ConfigurationManager still contains the old value.
Any idea ?