Response.ContentType = "text/xml";
Response.Write(" <?xml version='1.0' encoding='utf-8'?>");
Response.Write(" <test>");
Response.Write(" <com>");
Response.Write(" <code>" + areader3.GetInt32(0).ToString() + " </code>");
Response.Write(" <name>" + areader3.GetString(1) + " </name>");
Response.Write(" <ext>" + areader3.GetString(2) + " </ext>");
Response.Write(" </com>");
Response.Write(" </test>");
xml¸ñʽµÄ¿ÉÒÔÕâÑùÊä³ö ÄÇÒªÊä³öjson¸ñʽµÄ¸ÃÔõôд
Response.ContentType = "text/plain";
Response.Write("[{\"name\":\"a\"},{\"name\":\"b\"}]");
Response.ContentType = "text/xml";
Response.Charset = "UTF-8";
System.Xml.XmlDocument doc = new System.Xml.XmlDocument();
doc.LoadXml(strXML);
doc.Save(Response.OutputStream);
Response.End();
context.Response.ContentType = "text/plain";
var orders;
ÎÒÓÃasp.net¿ª·¢wapÕ¾µã£¬Íê³ÉºóÈ¥http://validator.w3.org/ÕâÀïÑéÖ¤ÎÒµÄWapÒ³ÃæÊÇ·ñ±ê×¼£¬ÆäËüÎÊÌâ¶¼¸ÄºÃÁË£¬
¾ÍÊ£ÕâÒ»¸ö´íÎóÁË£¬°´×ÖÃæÒâ˼Àí½âÊÇ˵nameÊôÐÔÒÑ´æÔÚ£¬ÀàËÆÕâÑùµÄ´íÎó»¹Óв»ÄÜÓÃborder ,align,sizeµ ......