Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
I have a Ajax HTML editor in my webpage and i want to fetch data from what is written in that editor using jQuery.
Now i want to insert that editor value into DB using JSON, webservices.
 
Can anyone please guide me to solve this above issue.
Thanks in advance.
Posted 13-Jun-12 17:53pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
 
I think you manage to sent and recive data using JSON.
JSON has
serialize()
and
Deserialize()
methods that can covert JSON object to normal object or sting so you can insert
data as normal way.
 
Following post will help to resolve the problem
 
http://stackoverflow.com/questions/2246694/how-to-convert-json-object-to-custom-c-sharp-object[^]
 
http://www.simple-talk.com/sql/t-sql-programming/consuming-json-strings-in-sql-server/[^]
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 259
1 Sergey Alexandrovich Kryukov 182
2 Hard_Rockz 153
3 Richard MacCutchan 125
4 Maciej Los 104
0 OriginalGriff 5,374
1 Sergey Alexandrovich Kryukov 4,713
2 Peter Leow 2,944
3 DamithSL 2,465
4 Maciej Los 2,270


Advertise | Privacy | Mobile
Web02 | 2.8.140718.1 | Last Updated 14 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid