I am working on a web application which extracts data from databases. Databases are residing on server. I want the user to provide Server Name, username and password from the web application, which will help me to modify my connection string in web.config file from the code behind page. So, how can I update the config file from the code behind page in C#?
Guide me on what do I need to do here.