General information
Title:
Formatting Memo Lines For HTML output
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only