I have a Connection String defined in my web.config file. I use this connection string in the code itself. However, for DataSources (bound to dropdown lists) I select it using the Data Source Configuration process. This causes a separation that means, if the connection string changes, I have to change it in more than one place.
Is there a way to refer to the web.config connection string with the DataSources on the dropdown lists?
You need this. ;)
for get all connection strings in Dropdownlist: