I need to implement an ASP.NET Web Forms Application which will have multiple Web.Config Files for different SQL Server Database like Staging, Testing, Development or Production.
We will have a login page which has Environment dropdown box to choose web.config files such as Testing, Dev, Staging, and Live. If we select staging then login will connect to staging connectionstring.
Please guide me how we can achieve that. Thank you.