Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Paragraphs in nVarChar(max)
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01469618
Message ID:
01469653
Views:
22
Hello,

When I type the

tags into the nVarChar(max) field along with the text, it displays the tags and text.

When I programmatically add a paragraph at a time along with the "\n," the tag/code does not display, you simply see the nicely formatted paragraphs.

TFISHER

>>Hello,
>>
>>Thanks for the suggestion, but that does not work. It just displays the text along with the codes.
>>
>>I can copy the information out of the nVarChar(max) field (from one that I have programmatically concatenated) and paste it into Word and it respects the paragraphs -- yet, in the nVarChar(max) field in SQL, you do not see any of the codes.
>>
>>Thanks,
>>
>>TFISHER
>>
>>
>>
>>>In the web page you need to replace paragraphs with either

<br/><br/> or with <p> and </p>
at the end.
>>>Unless you're using PRE tag preserving the paragraphs.
>
>Can you show the code used to display this info in the Web Page?
Thanks,

TFISHER
Previous
Reply
Map
View

Click here to load this message in the networking platform