读取远程xml文件内容

     方法1:读取远程服务器上xml内容到dataset中,一开始直接用dataset的readxml(url)方法读取,总是出现"需要代理身份验证407"错误,用在程序中声明全局代理可以实现.
proxy

    方法2:用dataset中的readxml(io.stream)方法就可以读取到dataset中了
imports system.Net
GetPageString
posted on 2008-04-08 11:15  Theo  阅读(965)  评论(0编辑  收藏  举报