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.
当我自己搜索问题时,人们建议这样做:
WebBrowser web = new WebBrowser; web.DocumentText = htmlString; HtmlDocument doc = web.Document;
这使 doc 为空。知道可能出了什么问题吗?Visual Studio 中的调试似乎告诉我:
web.DocumentText = htmlString;
不做任何事情。任何帮助,将不胜感激!谢谢。