IsoDateTimeConverter timeConverter = new IsoDateTimeConverter { DateTimeFormat = "yyyy-MM-dd HH:mm:ss"};
string jsonStr = JsonConvert.SerializeObject(DatatableName,Formatting.Indented,timeConverter);
原文地址:https://www.cnblogs.com/wsq-blog/p/10888566.html
时间: 2024-11-02 16:48:17