Mega Code Archive

 
Categories / ASP.Net Tutorial / Development
 

Context GetConfig

<%@ Page Language="vb" %> <html>    <head>       <script runat="server">   Sub Page_Load()      Dim i As Integer            Dim nv As NameValueCollection            nv = Context.GetConfig("appSettings")            For i = 0 To nv.Count - 1               Response.Write(nv.GetKey(i) & " = " & nv(i) & "<br/>")            Next   End Sub       </script>    </head> <body>    <asp:label id="Message" runat="server"/> </body> </html>