Problème en VB.NET
Résolu
Vinceg
Messages postés
56
Date d'inscription
Statut
Membre
Dernière intervention
-
Vinceg Messages postés 56 Date d'inscription Statut Membre Dernière intervention -
Vinceg Messages postés 56 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Je suis en pleins stage pour mon BTS, et pour ce stage je dois créer un site internet pour la boite dans laquelle je suis.
Le seul petit hic,c'est que je ne connais pas le langage VB.NET car j'ai juste commencé a apprendre le VB Excel et le VB Access.
Donc, mon gros problème, c'est qu'il m'affiche 60 erreurs pour une page en VB.net ne contenant que 3 lignes...
je vous donne la page en VB :
Partial Class _Default
Inherits System.Web.UI.Page
End Class
Et maintenant les erreurs :
Je ne vois pourtant pas ou et le problème... J'ai besoin de votre aide s'il vous plait !!!
Je suis en pleins stage pour mon BTS, et pour ce stage je dois créer un site internet pour la boite dans laquelle je suis.
Le seul petit hic,c'est que je ne connais pas le langage VB.NET car j'ai juste commencé a apprendre le VB Excel et le VB Access.
Donc, mon gros problème, c'est qu'il m'affiche 60 erreurs pour une page en VB.net ne contenant que 3 lignes...
je vous donne la page en VB :
Partial Class _Default
Inherits System.Web.UI.Page
End Class
Et maintenant les erreurs :
Error 1 Character is not valid. C:\Vincent Guerin\WebSite1\Default.aspx.vb 1 2 C:\Vincent Guerin\WebSite1\ Error 2 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 3 2 C:\Vincent Guerin\WebSite1\ Error 3 '>' expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 5 7 C:\Vincent Guerin\WebSite1\ Error 4 '>' expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 6 7 C:\Vincent Guerin\WebSite1\ Error 5 Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement. C:\Vincent Guerin\WebSite1\Default.aspx.vb 7 12 C:\Vincent Guerin\WebSite1\ Error 6 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 8 2 C:\Vincent Guerin\WebSite1\ Error 7 Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement. C:\Vincent Guerin\WebSite1\Default.aspx.vb 9 6 C:\Vincent Guerin\WebSite1\ Error 8 '>' expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 10 11 C:\Vincent Guerin\WebSite1\ Error 9 Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement. C:\Vincent Guerin\WebSite1\Default.aspx.vb 11 9 C:\Vincent Guerin\WebSite1\ Error 10 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 13 6 C:\Vincent Guerin\WebSite1\ Error 11 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 14 6 C:\Vincent Guerin\WebSite1\ Error 12 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 15 2 C:\Vincent Guerin\WebSite1\ Error 13 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 16 2 C:\Vincent Guerin\WebSite1\ Error 14 'Context' is not a member of '_Default'. C:\Vincent Guerin\WebSite1\entre.aspx 1 1 C:\Vincent Guerin\WebSite1\ Error 15 'Context' is not a member of '_Default'. C:\Vincent Guerin\WebSite1\entre.aspx 1 1 C:\Vincent Guerin\WebSite1\ Error 16 Character is not valid. C:\Vincent Guerin\WebSite1\Default.aspx.vb 1 2 C:\Vincent Guerin\WebSite1\ Error 17 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 3 2 C:\Vincent Guerin\WebSite1\ Error 18 '>' expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 5 7 C:\Vincent Guerin\WebSite1\ Error 19 '>' expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 6 7 C:\Vincent Guerin\WebSite1\ Error 20 Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement. C:\Vincent Guerin\WebSite1\Default.aspx.vb 7 12 C:\Vincent Guerin\WebSite1\ Error 21 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 8 2 C:\Vincent Guerin\WebSite1\ Error 22 Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement. C:\Vincent Guerin\WebSite1\Default.aspx.vb 9 6 C:\Vincent Guerin\WebSite1\ Error 23 '>' expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 10 11 C:\Vincent Guerin\WebSite1\ Error 24 Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement. C:\Vincent Guerin\WebSite1\Default.aspx.vb 11 9 C:\Vincent Guerin\WebSite1\ Error 25 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 13 6 C:\Vincent Guerin\WebSite1\ Error 26 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 14 6 C:\Vincent Guerin\WebSite1\ Error 27 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 15 2 C:\Vincent Guerin\WebSite1\ Error 28 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 16 2 C:\Vincent Guerin\WebSite1\ Error 29 'Context' is not a member of '_Default'. C:\Vincent Guerin\WebSite1\candidat.aspx 1 1 C:\Vincent Guerin\WebSite1\ Error 30 'Context' is not a member of '_Default'. C:\Vincent Guerin\WebSite1\candidat.aspx 1 1 C:\Vincent Guerin\WebSite1\ Error 31 Character is not valid. C:\Vincent Guerin\WebSite1\Default.aspx.vb 1 2 C:\Vincent Guerin\WebSite1\ Error 32 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 3 2 C:\Vincent Guerin\WebSite1\ Error 33 '>' expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 5 7 C:\Vincent Guerin\WebSite1\ Error 34 '>' expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 6 7 C:\Vincent Guerin\WebSite1\ Error 35 Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement. C:\Vincent Guerin\WebSite1\Default.aspx.vb 7 12 C:\Vincent Guerin\WebSite1\ Error 36 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 8 2 C:\Vincent Guerin\WebSite1\ Error 37 Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement. C:\Vincent Guerin\WebSite1\Default.aspx.vb 9 6 C:\Vincent Guerin\WebSite1\ Error 38 '>' expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 10 11 C:\Vincent Guerin\WebSite1\ Error 39 Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement. C:\Vincent Guerin\WebSite1\Default.aspx.vb 11 9 C:\Vincent Guerin\WebSite1\ Error 40 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 13 6 C:\Vincent Guerin\WebSite1\ Error 41 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 14 6 C:\Vincent Guerin\WebSite1\ Error 42 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 15 2 C:\Vincent Guerin\WebSite1\ Error 43 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 16 2 C:\Vincent Guerin\WebSite1\ Error 44 'Context' is not a member of '_Default'. C:\Vincent Guerin\WebSite1\interim.aspx 1 1 C:\Vincent Guerin\WebSite1\ Error 45 'Context' is not a member of '_Default'. C:\Vincent Guerin\WebSite1\interim.aspx 1 1 C:\Vincent Guerin\WebSite1\ Error 46 'Context' is not a member of '_Default'. C:\Vincent Guerin\WebSite1\Default.aspx 1 1 C:\Vincent Guerin\WebSite1\ Error 47 'Context' is not a member of '_Default'. C:\Vincent Guerin\WebSite1\Default.aspx 1 1 C:\Vincent Guerin\WebSite1\ Error 48 Character is not valid. C:\Vincent Guerin\WebSite1\Default.aspx.vb 1 2 C:\Vincent Guerin\WebSite1\ Error 49 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 3 2 C:\Vincent Guerin\WebSite1\ Error 50 '>' expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 5 7 C:\Vincent Guerin\WebSite1\ Error 51 '>' expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 6 7 C:\Vincent Guerin\WebSite1\ Error 52 Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement. C:\Vincent Guerin\WebSite1\Default.aspx.vb 7 12 C:\Vincent Guerin\WebSite1\ Error 53 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 8 2 C:\Vincent Guerin\WebSite1\ Error 54 Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement. C:\Vincent Guerin\WebSite1\Default.aspx.vb 9 6 C:\Vincent Guerin\WebSite1\ Error 55 '>' expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 10 11 C:\Vincent Guerin\WebSite1\ Error 56 Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement. C:\Vincent Guerin\WebSite1\Default.aspx.vb 11 9 C:\Vincent Guerin\WebSite1\ Error 57 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 13 6 C:\Vincent Guerin\WebSite1\ Error 58 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 14 6 C:\Vincent Guerin\WebSite1\ Error 59 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 15 2 C:\Vincent Guerin\WebSite1\ Error 60 Identifier expected. C:\Vincent Guerin\WebSite1\Default.aspx.vb 16 2 C:\Vincent Guerin\WebSite1\
Je ne vois pourtant pas ou et le problème... J'ai besoin de votre aide s'il vous plait !!!
A voir également:
- Problème en VB.NET
- Vb.net express - Télécharger - Langages
- Vb.net - Télécharger - Langages
- Vb.net timestamp ✓ - Forum Framework .NET
- Vb.net xml ✓ - Forum Framework .NET
- Convert | VB.net ✓ - Forum Framework .NET
7 réponses
tu travail avec quel logiciel ?
si c'est avec VisualWebdev. je te conseil de recommencé un nouveau projet et te tester en mode debug. juste pour testé ..
si c'est avec VisualWebdev. je te conseil de recommencé un nouveau projet et te tester en mode debug. juste pour testé ..
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Bonjour,
1.) Une classe commence TOUJOURS avec une lettre majuscule :
Mauvaise syntaxe : Partial Class _Default
Bonne syntaxe : Partial Class Defaut1
2.) Pour utiliser un héritage :
Inherits System.Web.UI.Page
Vous devez ajouter la référence :
[ System.Web ]
et inclure la déclaration d'importation :
'-------------------------------------------
Imports System
Partial Class Default1
Inherits System.Web.UI.Page
End Class
'-------------------------------------------
Information
1.) Une classe commence TOUJOURS avec une lettre majuscule :
Mauvaise syntaxe : Partial Class _Default
Bonne syntaxe : Partial Class Defaut1
2.) Pour utiliser un héritage :
Inherits System.Web.UI.Page
Vous devez ajouter la référence :
[ System.Web ]
et inclure la déclaration d'importation :
'-------------------------------------------
Imports System
Partial Class Default1
Inherits System.Web.UI.Page
End Class
'-------------------------------------------
Information