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:
01307037
Views:
16
>>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
 tag instead of a 

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

Cheers Paul

Naomi pointed me at this as a response to my question. Spot on.

Nick

Previous
Reply
Map
View

Click here to load this message in the networking platform