I just tried using the HtmlAgility Pack for the first time and there were problems.
First, I boot from a string variable.
string NewsText = dr["Message"].ToString(); HtmlAgilityPack.HtmlDocument htmlDoc = new HtmlAgilityPack.HtmlDocument(); htmlDoc.LoadHtml(NewsText);
Then I want to save the changes to the NewsText line. How should I do it? htmlDoc.toString () does not work.
Thank!
c # parsing html-parsing
larschanders Feb 24 '11 at 16:15 2011-02-24 16:15
source share