摘要:
4.8.1.0 1: workbook.Save(System.IO.Path.GetFileName(path), FileFormatType.Default, SaveType.OpenInEx... 阅读全文
摘要:
引用:using System.Web.Script.Serialization;代码:var resp = new { flag = false, url = ConfigReader.LogoutPage};JavaScriptSerializer serializer = new JavaScriptSerializer();context.Response.Write(serializer.Serialize(resp));总结:JavaScriptSerializer 可以让我们轻松序列化一个匿名对象,方便前台通过Ajax异步方式获取Json对象,进行处理,省去后台拼接字... 阅读全文