Click here to Skip to main content
16,021,115 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to Change the ConnectionString to new Database without Log off of Application. Connected User and new users Should be able to work on new Database.
How can I achieve this?
Posted
Comments
Miguelribeiro 25-Oct-12 3:55am    
Do you have any data bindings,
how must the change be implemented.
Must the change occur while users are utilizing the system ??

1 solution

You can try adding several connection strings in the web config, with different names on it, you can call them via configuration on your code then specify the name of the connection string you are going to use.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900