日期:2014-05-18 浏览次数:20873 次
string strUrl = "http://www.baidu.com"; WebClient client = new System.Net.WebClient(); byte[] page=client.DownloadData(strUrl); string strInputHtml = Encoding.Default.GetString(page);