Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Frustration!!!!!!! Code 0 Error
Message
De
28/05/2002 18:31:50
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00662213
Message ID:
00662215
Vues:
23
Misprint in the book? Have you checked the publisher's web site for an errata?

>I have given up on the Microsoft-supplied tutorial for the book "Teach yourself ASP.NET in 21 days" - I am on day one, example 1.2. However, the first example, which is supposed to print one line of text(!) doesn't work on my machines.
>
>I run the code I created (or the sample provided) and get the following error:
>
>
>********************
>Line 4
>Char 8
>Error:  Expected ';'
>Code 0
>URL: http://localhost/day1/exercise1.aspx
>********************
>
>
>Here's the code:
>
>********************
>< % ERROR: @ Page Language="VB"  % >
>
><script runat="server">
>   sub Page_Load(obj as object, E as eventargs)
>      lblMessage.Text = "This is my first exercise!"
>   end sub
></script>
>
><html><body>
>   <asp:Label id="lblMessage" runat="server"/>
></body></html>
>***************************
>
>There MUST be something wrong with my setup....I have the exact same problem on my desktop & laptop machines (each with their own copy of IIS, .NET) so I'm completely stumped!
>
>Any thoughts are greatly appreciated!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform