Hi everyone,
I am new to .net and new to this forum. I tried some exercise using
vb.net in asp.net. Here is the source code and error. Can ayone help me to pointout what I did wrong? Thanks in advance.
Source code:
<%@ Page Language="
vb" runat="server"%>
<HTML>
<HEAD>
<title>Hello ASP.NET</title>
<script language="
vb" runat="server">
Text.Text="Hello ASP.NET! Welcome to Dotnet World!">
</script>
</HEAD>
<body>
<P> </P>
</body>
</HTML>
Error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30188: Declaration expected.
Source Error:
Line 4: ' Runtime Version: 1.1.4322.2032
Line 5: '
Line 6: ' Changes to this file may cause incorrect behavior and will be lost if
Line 7: ' the code is regenerated.
Line 8: ' </autogenerated>
Source File:
http://localhost/dotnet/hello asp.net/WebForm1.aspx Line: 6