取对应网址的html源码

        System.Net.WebClient wc = new System.Net.WebClient();
        Byte[] pageData = wc.DownloadData("httP://www");
        string s = System.Text.Encoding.Default.GetString(pageData);

posted @ 2010-05-18 16:57  凡海雨  阅读(206)  评论(0编辑  收藏  举报