Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How we can save and retrieve data from DB what we have entered as it is with fonts, space and paragraph? plz any body share if aware.
Posted

Hello,

Using CKEditor[^] you can save your data as in HTML format and while you assign that data to editor it will also shows that html effect as you required. i have used it but just don't remember their properties to get and set the html code effect.so you have to just find out it .
 
Share this answer
 
SQL
Hi,

Use "wysiwyg html" any input and store in NVARCHAR column in Database.

it will store data with html tag in database  which will show as you set during storing.


Thanks,
 
Share this answer
 
v2
Comments
Sascha Lefèvre 27-Apr-15 11:00am    
Please take a look at the date of the question

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