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:
01294385
Vues:
19
This message has been marked as a message which has helped to the initial question of the thread.
>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 <p> tag. Or, replace your CR's with <br/> Something like: rdr["Description"].ToString().Replace("\n", "<br/>")
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform