Aniket Narvankar

Aniket Narvankar

  • 564
  • 2.1k
  • 602.8k

How to change connection string in Asp.Net

Jan 22 2019 10:56 PM
In my project I am using three tier architecture.So my database connectivity code is in another class,it is not on webform.
In my web.config I have two connection strings,i want to change connection string name base on some condition,how to do it kindly provide me solution on this. 

Answers (6)