0
no sir online database string in web.config
0
Do you mean the database is in your local network or in local machine ? Then also you can switch the connectionstrings.
0
sir this is not set online database connection string
0
You can store the connection strings in web.config or app.config. Depending upon the year selection just reinitialize the connection object.
Below is a link, may not be an exact answer to your questions but would be a hint for you.
http://www.codeproject.com/Tips/411013/Configuring-a-Connection-String-in-the-App-Config