Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quote handling in ASP
Message
 
À
21/05/2001 09:32:19
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00509414
Message ID:
00512215
Vues:
12
Michel;

In some cases "" will work and in other cases it will not. It seems if you are referencing code within an HTML element such as a table, the double quote works.

Example:

Response.Write "< tr class=""tblEvenRowBackground"">" & vbcrlf

When the two sets of double quotes will not work I use the following:

Dim sQuote

sQuote = Chr(34) ' double quote character...


An example of the above in a line of code...

Response.Write " < A HREF=" & sQuote & sMe & "?PAGE=1" & "&Sort=" & sSort & sQuote & ">First Page < /A>"

Tom
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform