C# Json.Net DataTable to JArray
var strSql = string.Format(@"select * from <tablename>;");
DataTable dt = ExecuteDataTable(strSql);
JArray result = Newtonsoft.Json.Linq.JArray.FromObject(dt));
var strSql = string.Format(@"select * from <tablename>;");
DataTable dt = ExecuteDataTable(strSql);
JArray result = Newtonsoft.Json.Linq.JArray.FromObject(dt));