|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Error (0x800A0401) Expected end of statement
during the creation of an HTML page using asp variable I have this problem: Microsoft VBScript compilation (0x800A0401) Expected end of statement /asp/pages/connect1_1.asp, line 27, column 35 strtable = strtable & "<tr valign="top">" & The code is the following: dim strtable strtable = "<table border=1 width=100% >" strtable = strtable & "<tr valign="top">" & "<td width="51" bgcolor="#0488EC">CODICE</td>" & "<td width="51" bgcolor="#0488EC">PRODOTTO</td>" & "<td width="51" bgcolor="#0488EC">QTA MASSIMA</td>" & "<td width="51" bgcolor="#0488EC">QTA RICHIESTA</td>" & "</tr>" How can I put inside an ASP variable HTML code? Thanks in advance. Dax Dax schreef:
Show quote > Hi, Try this:> during the creation of an HTML page using asp variable I have this > problem: > Microsoft VBScript compilation (0x800A0401) Expected end of statement > /asp/pages/connect1_1.asp, line 27, column 35 > strtable = strtable & "<tr valign="top">" & > > The code is the following: > dim strtable > strtable = "<table border=1 width=100% >" > > strtable = strtable & "<tr valign="top">" & > "<td width="51" bgcolor="#0488EC">CODICE</td>" & > "<td width="51" bgcolor="#0488EC">PRODOTTO</td>" & > "<td width="51" bgcolor="#0488EC">QTA MASSIMA</td>" & > "<td width="51" bgcolor="#0488EC">QTA RICHIESTA</td>" & > "</tr>" > > How can I put inside an ASP variable HTML code? > > Thanks in advance. > Dax > strtable = strtable & "<tr valign=""top"">" &_ "<td width=""51"" bgcolor=""#0488EC"">CODICE</td>" &_ "<td width=""51"" bgcolor=""#0488EC"">PRODOTTO</td>" &_ "<td width=""51"" bgcolor=""#0488EC"">QTA MASSIMA</td>" &_ "<td width=""51"" bgcolor=""#0488EC"">QTA RICHIESTA</td>" &_ "</tr>" d. |
|||||||||||||||||||||||