Click here to Skip to main content
11,639,520 members (69,069 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET SQL Ajax Server
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
Ruggers707
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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 .
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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,
  Permalink  
v2
Comments
Sascha Lefévre at 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
0 OriginalGriff 9,081
1 Sergey Alexandrovich Kryukov 8,812
2 Mika Wendelius 7,027
3 Suvendu Shekhar Giri 2,600
4 F-ES Sitecore 2,548


Advertise | Privacy | Mobile
Web02 | 2.8.150731.1 | Last Updated 27 Apr 2015
Copyright © CodeProject, 1999-2015
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