How to Convert json file into Datatable in C#

Viewed 19

String path = "data.json";

String json = System.IO.File.ReadAllText(path);

Datatable dt =(Datatable)JsonConvert.Deserialization(json,(typeOf(Datatable)));

0 Answers
Related