摘要: /// summary/// 使用WebClient方法/// /summaryprotected void WebClientButton_Click(object sender, EventArgs e){pageUrl = UrlText.Text;WebClient wc = new WebClient();wc.Credentials = CredentialCache.DefaultCredentials;//方法一byte[] pageData = wc.DownloadData(pageUrl);ContentHtml.Text = Encoding.Default.G 阅读全文
posted @ 2011-01-06 16:52 YaSin 阅读(382) 评论(0) 推荐(0) 编辑