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:
01294394
Views:
18
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform