When I try to browse page with the content listed down , IE shows message:
Welcome.In WebServerLand the time is currently, but it doesn't show time.
I have IIS 5.1 and Visual Studio.NET. I' new in this so any help is
welcome. tnx;)
<script language="c#" runat="server">
void Page_Load()
{
time.Text = DateTime.Now.Hour.ToString() + ":" +
DateTime.Now.Minute.ToString() + ":" +
DateTime.Now.Second.ToString();
}
</script>
<html>
<head><title>The Punctual Web Server</title></head>
<body>
<h1>Welcome</h1>
In WebServerLand the time is currently:
<asp:label id="time" runat="server" />
<body/>
<html/>