Bonjour,
Je suis entrain de faire des modifications sur une de mes pages ASP, et ça me donne ce message d'erreur quand j'enregistre et que j'essaye de charger ma page :
La partie de code j'ai modifié est celle ci :Erreur de compilation Microsoft VBScript error '800a0400'
Instruction attendue
/Fiche/ficheadministrative.asp, line 421
wend
^
Si quelqu'un peut me dire d'où l'erreur vient svp ? merci d'avance...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45 <tr> <td colspan="2" class="sectionFiche" > <table class="principal" cellspacing="0" cellpadding="0" > <tr><td class="SoustitreFiche" > </td> <td class="SoustitreFiche" align=right> Etoiles</td></tr> <% k=0 rstbilan.moveFirst while not(rstbilan.eof) and k<3 %> <tr> <td class="SoustitreFiche" > <%=rstBilan("Date")%></td> <td align=right> <% if CDbl(rstbilan("NOTE_TOTALE"))>=9.5 Then%> <td width="10%" align="center"> <%If rstBilan("ETOILES")="*" Then%> <img src="/images/Etoiles/unetoile.gif" width="72" height="16" alt="*"> <% elseIf rstBilan("ETOILES")="**" Then%> <img src="/images/Etoiles/deuxetoiles.gif" width="72" height="16" alt="**"> <% elseIf rstBilan("ETOILES")="***" Then%> <img src="/images/Etoiles/troisetoiles.gif" width="72" height="16" alt="***"> <% elseIf rstBilan("ETOILES")="****" Then%> <img src="/images/Etoiles/quatretoiles.gif" width="72" height="16" alt="****"> <% elseIf rstBilan("ETOILES")="*****" Then%> <img src="/images/Etoiles/cinqetoiles.gif" width="72" height="16" alt="*****"> <%End if%> </td> </tr> <% rstBilan.movenext k=k+1 wend Else %> <td width="10%" align="center"></td> <% End if Else %> <td width="10%" align="center"></td> <% End if rstBilan.movenext Next %> </table> </td> </tr> <% end if %>
Partager