IDE: Visual Studio 2010 Platform: C#
I am trying to convert the JSON object which consist of data in two different tables into Data table. Here is the code I have written:
JavaScriptSerializer objJSSWW = new JavaScriptSerializer();
var lastBattingDetailsWW = JsonConvert.DeserializeObject<EmpDetails>(JsonBattingWW);
public class EmpDetails
{
public List<List<object>> Table { get; set; }
public List<List<object>> Table1 { get; set; }
}
I want these two tables to be stored in DataTable. Any Suggestions ?