Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Could not display the time????


Message #1 by "Richard Chong" <scchong88@y...> on Thu, 31 Oct 2002 16:34:40
I attempt to run a simple aspx page, only the HTML code was printed 
to the webpage.  Upon viewing the source code of the webpage I could 
still 
see my VB and ASP .NET code.  I installed the .NET framework 
successfully. My OS is WINDOW XP Professional.


<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>

Many Thanks in advances and very much appreciated

scchong

  Return to Index