I have just started practising ASP.NET, and while doing so, I faced a problem in the very first example from the book ASP.NET 1.1 with Visual Basic.Net. The problem is as follows:
When I view the following code in the browser, I can see only the part inside the HTML tag, and the scripted part is not send to the browser, please advice a solution to this,
<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>
I have all the tools loaded in my system required to run the code. PLease help
Jaideep
27-02-2004
New Delhi
India