There are inconsistencies within the text and website code. I am confused... Which is the correct code below? Refer to Chapter 01, the FIRST application: Punctual Time Server, p48
<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>
Note: in the line <asp: there is a space between asp: and label. The book has it both ways. Is this space significant?
In the same line, compae id="time" which appears conssitent with the line time.text=Hour(Now) ...
However, the book, page 56 says the line should read <asp:label id="hour" runat="server" />
I am only in Chapter One of the book...usually these books are excellent... but this one seems a little off... am I missing something?
I have followed every step with great rigor. The page displays correctly, but does NOT produce the time.
What did any of you do differently beyond follow every step in the book to the exact letter?
Jim