日期:2014-05-18  浏览次数:20401 次

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();
正解!!!