• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help! Any .NET (ASP.NET) Programmers????

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