зеркало из https://github.com/mono/old-code.git
28 строки
568 B
Plaintext
28 строки
568 B
Plaintext
|
<html>
|
||
|
|
||
|
<script language="C#" runat="server">
|
||
|
|
||
|
void Page_Load(Object Src, EventArgs E) {
|
||
|
Message.Text = "You last accessed this page at: " + DateTime.Now;
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<h3><font face="Verdana">Manipulating Server Controls</font></h3>
|
||
|
|
||
|
This sample demonstrates how to manipulate the <asp:label> server control within
|
||
|
the Page_Load event to output the current time.
|
||
|
|
||
|
<p>
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<asp:label id="Message" font-size="24" font-bold="true" runat=server/>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|
||
|
|