Return to Snippet

Revision: 8279
at September 11, 2008 10:09 by DaveChild


Initial Code
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

Initial URL

                                

Initial Description

                                

Initial Title
VB.NET Read Settings from web.config File

Initial Tags

                                

Initial Language
VB.NET