Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (15 sloc) 568 Bytes
<script language="C#" runat="server">
void Page_Load(Object Src, EventArgs E) {
Message.Text = "You last accessed this page at: " + DateTime.Now;
<h3><font face="Verdana">Manipulating Server Controls</font></h3>
This sample demonstrates how to manipulate the &lt;asp:label&gt; server control within
the Page_Load event to output the current time.
<asp:label id="Message" font-size="24" font-bold="true" runat=server/>