ASP.NET MVC在Controller中,把JsonResult转为JSON字符串
string json = new System.Web.Script.Serialization.JavaScriptSerializer().Serialize(jsonResult.Data);
Response.Write(json);
ASP.NET MVC在Controller中,把JsonResult转为JSON字符串
string json = new System.Web.Script.Serialization.JavaScriptSerializer().Serialize(jsonResult.Data);
Response.Write(json);
发表回复