Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想获取网页document.body.innerhtml的来源或页面正在导航。
document.body.innerhtml
我测试这段代码:
textbox1.Text=Webbrowser1.Document.Body.InnerHTML;
但是有一个问题......当页面加载完成时,此代码可以正常工作。
我只想在加载页面时获取页面源。
对不起我的英语不好 :)