ASP.NET(vb.net) Application.Count() - Application Object - Application.Count() : Gets the number of Application
ShotDev Focus:
- ASP.NET(vb.net) Application.Count() - Application Object
Example
AspNetApplicationCount.aspx
<%@ Page Language="VB" %>
<script runat="server">
Sub Page_Load(sender As Object, e As EventArgs)
Application("Database") = "mydatabase.mdb"
Application("UserID") = "myuser"
Application("Password") = "mypassword"
Me.lblText.Text = Application.Count() & " Items"
End Sub
</script>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<form id="form1" runat="server">
<asp:Label id="lblText" runat="server"></asp:Label>
</form>
</body>
</html>
Screenshot
			
