I'm trying to protect my database connection strings by placingthem in the <appSettings> tag of my web.config file using <add key=[name] value=[value]> statements. How do I access these frommy .aspx code-behind functions?
Import the System.Configuration namespace.Dim myVar as String = ConfigurationSettings.AppSettings("myKey")