Mega Code Archive

 
Categories / ASP.Net Tutorial / Development
 

Application GetKey

<%@ Page Language="vb" %> <html>    <head>       <script runat="server">   Sub Page_Load()      Application.RemoveAll()      Application("GetKeyTest") = "Got it!"         Message.Text = "Key of Application(0) = " & Application.GetKey(0) & "<br/>(Should be GetKeyTest)"   End Sub       </script>    </head> <body>    <asp:label id="Message" runat="server"/> </body> </html>