Click here to Skip to main content
15,914,109 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,

I am writing an asp.net application where people can write articles and save them in a database.

Now I want them to be able to format their text and retain the format when the article is displayed in webform.

Thanks in advance!
Posted
Updated 16-Dec-10 0:00am
v2
Comments
Manfred Rudolf Bihy 16-Dec-10 6:00am    
Spelling and grammar edits.
Manfred Rudolf Bihy 16-Dec-10 6:02am    
At what point are you experiencing difficulties?
Describe your problem more specifically!

1 solution

You have to escape the quote characters (both single- and double-quotes) before passing the string to SQL server, or you have to pass the string as XML.
 
Share this answer
 
v2
Comments
Adesina Mark 16-Dec-10 6:11am    
Please give me an example

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900