Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formatting Memo Lines For HTML output
Message
From
31/03/2005 07:56:33
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Formatting Memo Lines For HTML output
Miscellaneous
Thread ID:
01000254
Message ID:
01000254
Views:
75
I have a C# web page which extracts data from a database via a third party's Web Service, adds the records into a string, with a paragraph marker between each one, and then renders them into a multiline lable on the web page.

All works except the formatting is lost for the memos. In a Web Connection VFP app in the past, I have had to replace (using STRTRAN()) all CRLFs with < br > (without the spaces) prior to rendering them.

What is the equivalent in C#? (I am guessing this may involve StringBuilder, but I have no idea of the syntax, or how you represent CHR(13)+CHR(10) in .NET)

TIA, Kevin
Next
Reply
Map
View

Click here to load this message in the networking platform