serialize dataset to json c#

Jak
Jak
908 Points
132 Posts

serialize dataset to json c#

Views: 9624
Total Answered: 1
Total Marked As Answer: 1
Posted On: 21-Jan-2015 17:29

Share:   fb twitter linkedin
Answers
Rahul Maurya
Rahul M...
4918 Points
28 Posts
         
string json = JsonConvert.SerializeObject(table);

which serializes to something like this:

[ { "Column1": "Row Value", "Column2": "2" } ]
Posted On: 21-Jan-2015 20:45
 Log In to Chat