Storing HTML formatted text in database

Posted by user279521 on Stack Overflow See other posts from Stack Overflow or by user279521
Published on 2010-05-18T12:17:26Z Indexed on 2010/05/18 12:20 UTC
Read the original article Hit count: 260

Filed under:
|
|

I am building a web site similar to Craigslist. I would like to know how to store the html formatted text (bold / italics / font size etc) in a sql 2008 database?

In order words, the user would enter their text, format it with font size, bold etc and save the information. Whats the most efficient way to store that in a database?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET