Newtonsoft.Json.dll(.NET2.0_3.5_4.0_4.5)
using Newtonsoft.Json;
//DataTable转json
public string DtToJson(DataTable table)
{
string jsonString = string.Empty;
jsonString = JsonConvert.SerializeObject(table);
return jsonString;
}
2020-04-05 03:02:31
3.4MB
json
1