这里有一个示例:
http://live.sportscn.com/indexGB.html
(他中间的“赛事”数据就是这样的)

解决方案 »

  1.   

    http://forum.lostinet.com/Topic.Aspx?TopicID=3226372&_lastreply=
      

  2.   

    http://aspxcn.com/dotnetdown/default.aspx?classid=1&subclass=10
    ASP.NET结合XML做的无刷新聊天室
      

  3.   

    源码演示:http://www.aylo.com/AyloChat/
      

  4.   

    确实用xmlhttp可以,参考msdn
    ms-help://MS.MSDNQTR.2003FEB.2052/cpref/html/frlrfSystemXmlSerializationXmlAttributesClassXmlIgnoreTopic.htm
      

  5.   

    sorry,是这个地址
    ms-help://MS.MSDNQTR.2003FEB.2052/dnaskdr/html/askgui10092001.htm
    <%@ Page language="vb" AutoEventWireup="true"%>
    <%
        'Set the Content header to tell the browser XML is coming.
        Response.ContentType = "text/xml"
        'Write out the XML data.
        Response.Write("<?xml version='1.0'?>" & _ 
                   "<Customer_Names>" & _
                      "<Customer>John</Customer>" & _ 
                      "<Customer>Judy</Customer>" & _ 
                      "<Customer>Jane</Customer>" & _
                      "<Customer>Jack</Customer>" & _ 
                   "</Customer_Names>") 
    %>There are lots of samples illustrating the different ways to generate the XML output from the server. This sample shows the simplest way ASP.NET can generate XML.Here is a sample client .htm page that will get, parse, and use the XML data on the above page to fill a list box:<HTML>
    <HEAD>
    <SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
    <!--
    function button1_onclick() {
       //When the button is clicked call the open document Function
       OpenXMLDoc()
    }
    //-->
    </SCRIPT>
    </HEAD>
    <BODY>
    <INPUT type="button" value="Fill Box" id=button1 name=button1 
    LANGUAGE=javascript onclick="return button1_onclick()"><BR><BR>
    <SCRIPT Language = "VbScript">
    Function OpenXMLDoc
       'Create XMLHTTP Object to Prepare to send XML across HTTP.
       Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
       
       'Prepare the XMLHTTP Request object to issue a synchronous HTTP POST 
       'request to the URL to send the XML Tree.
       xmlhttp.open "POST","http://mattison/ReturnXML/ReturnXMLdata.aspx",
       false
       
       'Send the HTTP request
       xmlhttp.send
     
       'Use XML Data returned.
       FillListBox(xmlhttp.ResponseText)
       Set xmlhttp = Nothing
       Set xmldoc = Nothing
    End Function   
    Function FillListBox(strXML)
       'Create a client side XML doc
       Set xmlCustomersDoc = CreateObject("Microsoft.XMLDOM")
       'Load the xml into the document
       xmlCustomersDoc.loadXML strXML
       'Get the Customer Nodes
       Set CustomerNameNodes = xmlCustomersDoc.getElementsByTagName("Customer")
       Dim Elem
       'Loop through them and add an entry to the list box each time.
       For each Elem in CustomerNameNodes
          Set selElement = document.createElement("OPTION")
          selElement.Text = Elem.text
          select1.options.add selElement
        Next
       'Close the document
       Set xmlCustomersDoc = Nothing
    End Function   
    </SCRIPT>
    <br>
    <SELECT id=select1 name=select1>
    </SELECT>
    </BODY>
    </HTML>
    </BODY>
    </HTML>
      

  6.   

    Refresh Portion Of Your Web Page Using XMLHTTP
    http://www.codeproject.com/jscript/refreshpartweb.aspRemote Scripting in a .NET World
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnclinic/html/scripting11122001.asp
      

  7.   

    http://expert.csdn.net/Expert/topic/1425/1425584.xml?temp=.127865
      

  8.   

    webservice.htc组件!==================================
    弯弯的月亮小小的船,小小的船,两头尖,我在小小的船里坐,只看见闪闪的
    星星蓝蓝的天.