Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generating table on the fly - missing line breaks
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01294342
Message ID:
01294394
Vues:
20
>>Hi everybody,
>>
>>I'm trying to figure out why the description field misses the line breaks when displayed in the web page.
>>
>>
>>Do you see what may be wrong here?
>
>That's the way HTML works. Carrier return/line breaks aren't displayed by default. You could embed this in a < pre > tag instead of a

tag. Or, replace your CR's with
Something like: rdr["Description"].ToString().Replace("\n", "
")

Thanks a lot, let me try that.

BTW, did you see my Subversion installation thread?

If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform