日期:2014-05-18 浏览次数:20685 次
private void frmMain_Load(object sender, EventArgs e) { webBrowser1.Navigate("http://www.*****.com/****.asp"); } private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { string temp = webBrowser1.Document.Body.InnerHtml; File.AppendAllText(Application.StartupPath + "\\html.txt", temp); }