<%@ Page Language=VB Debug=true %>
<script runat=server>
Sub Page_Load(ByVal Sender as Object, ByVal E as EventArgs)
lblMessage1.Text = Today()
End Sub
</SCRIPT>
<HTML>
<HEAD>
<TITLE>Manipulating a Label Control in Code</TITLE>
</HEAD>
<form runat="server">
<BR><BR>
<asp:label
id="lblMessage1"
tooltip="Today's serverdate."
runat="server"
/>
<BR><BR>
</form>
</BODY>
</HTML>
|