Aniket Narvankar

Aniket Narvankar

  • 558
  • 2.1k
  • 605.1k

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)