I'm having fun picking up ASP.NET for the fun of it. Been a couple of years since programming.
The following seems to work on the Web Matrix (i.e. it displays the time) but on IIS the time is not displayed.
Right now on IIS I only get "In WebServerLand the time is currently:" when I run it on IE. I also get a warning about an 'unterminated string constant in IE.
Any troubleshooting tips? I'd rather insure I have everything working from 'Chapter 1' on rather than just skipping anything. My target web server will eventually be IIS for my little hobby project.
<%@ Page Language="
VB" %>
<script runat="server">
' Insert page code here
'
Sub Page_Load()
time.text=Hour(Now) & ":" & Minute(Now) & ":" & Second(Now)
End Sub
</script>
<html>
<head>
</head>
<body>
<form>
In WebServerLand the time is currently:
<asp:Label id="time" runat="server" />
</form>
</body>
</html>