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.


Jignesh KumarRank #91 · 22.9K reputationPosted Jan 22, 2019, 6:06 PM EST
Salman BegRank #284 · 8.8K reputationPosted Jan 22, 2019, 6:13 PM EST
Jenith ThakkarRank #789 · 2.9K reputationPosted Jan 22, 2019, 6:19 PM EST
Aniket NarvankarRank #903 · 2.3K reputationPosted Jan 22, 2019, 7:38 PM EST
Jenith ThakkarRank #789 · 2.9K reputationPosted Jan 22, 2019, 7:53 PM EST
Jignesh KumarRank #91 · 22.9K reputationPosted Jan 22, 2019, 8:24 PM EST