I have just started an ASP.NET tutorial and already my first testpage is not working. I followed everything to the T and yet no success. I copied a sample page into my web server and yet it does not work. If anyone has had this problem please advise. I appreciate any help anyone can offer.
The page is basically supposed to just display the Server time, however it is not working. Here is my code:
<script language="vb" runat="server">
Sub Page_Load()
time.text=Hour(Now) & ":" & Minute(Now) & ":" & Second(Now)
End Sub
</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>
- David
The page is basically supposed to just display the Server time, however it is not working. Here is my code:
<script language="vb" runat="server">
Sub Page_Load()
time.text=Hour(Now) & ":" & Minute(Now) & ":" & Second(Now)
End Sub
</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>
- David