Save value to Application

Saranya Boopathi
Posted by Saranya Boopathi under ASP.NET category on | Points: 40 | Views : 709
<%@ Page Language="VB" %>

<script runat="server">
Sub Page_Load(Sender As Object, e As EventArgs)
lblOutput.text = "Page loading" & _
"Application started at: " & Application("Time") & "<br>" & _
"Current time: " & DateTime.Now & "<br>"
End Sub

Sub Click(obj As Object, E As EventArgs)
End Sub

<form runat="server">
<asp:label id="lblOutput" runat="server"/>
<asp:Button id="btSubmit" runat="server" OnClick="Click" Text="End This Session"/>

Comments or Responses

Login to post response