HTMLAgilityPack如何解析已在WebControl中打开的文档

时间:2012-08-21 19:13:02

标签: c# html dom html-agility-pack

如何解析已在WebControl中打开的页面中的表? (我不想重新加载页面)

1 个答案:

答案 0 :(得分:1)

HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();
doc.LoadHtml(webcControl.DocumentText);