Guys,
This is a long shot, but can you change the connection string in the app.config on a windows form app with code?
I want to launch my app and give a choice of which database it loads, i.e. my application can load data from 2 different databases but i need to swap the connection string via a user control (like a button click) to do this.
Is it possible?
Change Connection String in app.config with code
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

brunda kRank #3,804 · 389 reputationPosted Mar 13, 2013, 10:20 AM EDT