HtmlAgilityPack.HtmlNode.ElementsFlags.Remove("form");

 

agi.HtmlDocument htmlDocument = new agi.HtmlDocument();
htmlDocument.LoadHtml(sReadHtml);
agi.HtmlNodeCollection node_table = htmlDocument.DocumentNode.SelectNodes("//form[@name='frm']//tr");

 

 

form 에서는

 

HtmlAgilityPack.HtmlNode.ElementsFlags.Remove("form");

 

이 부분을 선언해줘야 함

+ Recent posts