Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Paragraphs in nVarChar(max)
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01469618
Message ID:
01469653
Vues:
31
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform