Mega Code Archive

 
Categories / ASP.Net / Session Cookie
 

Application Remove At (VB net)

<%@ Page Language="vb" %> <html>    <head>       <script runat="server">   Sub Page_Load()      If Application.Count > 0 Then         Application.RemoveAt(0)         Message.Text = "The item at index 0 was removed."      Else         Message.Text = "The item at index 0 does not exist."      End If   End Sub       </script>    </head> <body>    <asp:label id="Message" runat="server"/> </body> </html>