Click here to Skip to main content
13,044,428 members (112,693 online)
Rate this:
Please Sign up or sign in to vote.
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 8-Apr-13 19:03pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1


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 you have to just find out it .
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

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.

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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 27 Apr 2015
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100