[WebMethod]
  public void GetJson(String sJson)
  {
    Context.Response.Charset = "UTF-8"; //设置字符集类型
    Context.Response.ContentEncoding = System.Text.Encoding.GetEncoding("UTF-8");
    Context.Response.Write(sJson);
    Context.Response.End();
  }

 

 url: 'WebService1.asmx/GetJson'

相关文章:

  • 2022-12-23
  • 2021-10-14
  • 2022-12-23
  • 2021-08-16
  • 2022-12-23
  • 2022-12-23
  • 2021-10-13
  • 2021-10-23
猜你喜欢
  • 2022-12-23
  • 2022-03-04
  • 2022-03-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案