首页 > TAG信息列表 > jkon
Json转DataTable
public static DataTable JsonToDataTable(string json) { DataTable table = new DataTable(); //JsonStr为Json字符串 JArray array = JsonConvert.DeserializeObject(json) as JArray;//反序列化为数组 if (array.Count > 0) { StringBuilder colu