Kinesis
Senior member
I am trying to do something pretty simple.
<%@ Page Language="VB" %>
<script language="VB" runat="server">
Sub Page_Load(Sender As Object,E As EventArgs)
TimeStamp.Text=now()
End Sub
</script>
<html>
<body bgcolor="yellow">
<center>
<h2>Hello W3Schools!</h2>
<asp:label id="TimeStamp" runat="server" />
</center>
</body>
</html>
That is the code. I am saving the file as Test.aspx. I am running Windows Xp Professional, with .NET Framework installed, IIS 5.0 Installed ( classic ASP works), and Visual Studio 7.0 Installed. But everytime I run this code, or any ASP.NET code I try I get the same error message (just a different line):
Expected ; (semicolon) Line (#)
Any suggestions?
Thx
<%@ Page Language="VB" %>
<script language="VB" runat="server">
Sub Page_Load(Sender As Object,E As EventArgs)
TimeStamp.Text=now()
End Sub
</script>
<html>
<body bgcolor="yellow">
<center>
<h2>Hello W3Schools!</h2>
<asp:label id="TimeStamp" runat="server" />
</center>
</body>
</html>
That is the code. I am saving the file as Test.aspx. I am running Windows Xp Professional, with .NET Framework installed, IIS 5.0 Installed ( classic ASP works), and Visual Studio 7.0 Installed. But everytime I run this code, or any ASP.NET code I try I get the same error message (just a different line):
Expected ; (semicolon) Line (#)
Any suggestions?
Thx