Does anyone know how to convert a json string into DataTable from asp.net? I came to know about the Deserialize, it needs the class, I just want the datatable as returned. C
It´s simple.
If you are in framework 2.0, you must import json.net (http://json.codeplex.com/) in your project, if your framework is superior, it has json.
The code in vb.net framework 2.0:
Dim Table DataTable Table = Json.JsonConvert.DeserializeObject(Of DataTable)(Json_string)
That´s all.