Wednesday, January 7, 2009

Loop Through Web AppSettings

For Each appSetting As String In ConfigurationManager.AppSettings.AllKeys
   Dim appSettingValue = ConfigurationManager.AppSettings.Get(appSetting)
Next


In this case, appSetting would be returning the key, where as appSettingValue is the value.

No comments: