/ Published in: VB.NET
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Public Class Settings Private objSettings As AppSettingsSection Public Sub New() objSettings = CType(WebConfigurationManager.OpenWebConfiguration(HttpContext.Current.Request.ApplicationPath).GetSection("appSettings"), AppSettingsSection) End Sub End Class