I created an application with Visual Studio and ASP.NET 4.0 with MSSQL 2012 Express as backend.
Initially there was no planning of multiple databases, so I programmed the app accordingly with single connection string for a single database.
Now, client's requirements has changed and he is asking for separate database for each year, DATABASE2015 for year 2015, DATABASE2016 for year 2016 and so on.
I will migrate structure and data from previous year database to new year database and thats fine.
But how will I connect to different database for different user as per their year selection at login time?
Also, I am having a single connectionstring in web.config and I have referenced that connection string throughout my project in both code side and html side for asp.net controls.
Please advise.