Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generating table on the fly - missing line breaks
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01294342
Message ID:
01294385
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform