摘要:
/// /// 把对象转换为JSON字符串 /// public static string GetJson(T obj) { //记住 添加引用 System.ServiceModel.Web /** * 如果不添加上面的引用,System.Runtime.Serialization.Json... 阅读全文
摘要:
public static string ObjToStr(object ob) { if (ob == null) { return string.Empty; } else return ob.ToString(); } public static string GetJsonByDataset... 阅读全文