可以用socket接收文件,通常的网络传输方式被,将其保存成一个XML文件,然后读取就行了呗。
随便找一本关于网络编程的书或网站都有现成的代码的。
.net有XML类,里面有很多现成的方法去解析XML文件的,具体情况参考一下msdn就可以找到答案。

解决方案 »

  1.   

    谢谢。也许我刚才没有说清楚。服务器是通过HTTP+POST方法发过来的。
    我的扑或数据流。把XML解析出来。在通知应用程序。
    但我是新手,不知道给如何做。
      

  2.   

    在Web页面的Request里的InputStream获得这个流,解析它得到数据。
      

  3.   

    xxx.aspx?condition=<root><book>1</book><price>2.3</price>...</root>在xxx.aspx页面中
    XmlDocument xml=new XmlDocument();
    xml.InnerXml=this.request.querystring["condition"];
    foreach( XmlNode node in xml.DocumentElement.ChildNodes)
    {
    switch(node.Name)
    {
    case "book"
       strBook = node.InnerText;
    brek;}
    }
      

  4.   

    using System.Diagnostics;Process.Start("C:\\1.bat");1.bat:
    net send xxx hehe