当前位置: 代码迷 >> ASP.NET >> Ajax 服务器端如何向xmlHttp response XML格式数据(马上结贴)
  详细解决方案

Ajax 服务器端如何向xmlHttp response XML格式数据(马上结贴)

热度:8029   发布时间:2013-02-25 00:00:00.0
Ajax 服务器端怎么向xmlHttp response XML格式数据(马上结贴)
RT
马上结贴。

------解决方案--------------------------------------------------------
沙发
------解决方案--------------------------------------------------------
string strXML = " <?xml version= "1.0 "?> <books> ..... <books> "

Response.ContentType = "text/xml ";
Response.Write( "No ");
Response.End();
------解决方案--------------------------------------------------------
string strXML = " <?xml version= "1.0 "?> <books> ..... <books> "

Response.ContentType = "text/xml ";
Response.Write(strXML);
Response.End();
正解!!!
  相关解决方案