i would like some help with a program i am developing, i want the user to be able to set the database connection string from a form i have developed. I have seen many articles on this, including many answers on stack overflow that all worked but none of them permanently write the connection to the app.config file, meaning when the application is closed the connection string retains it's former value (during debugging), i want to know if there is a way i can solve this issue.
I have already tried this: How can i update app.config connectionstring Datasource value in C#?
And this is what i am currently using:
http://www.codeproject.com/Questions/388444/How-change-connection-string-dynamically-in-csharp See Solution 2