摘要:
public void GetStr() { string url = "http://kb.cnblogs.com/list/1001/"; HtmlWeb web = new HtmlWeb(); //htmlWeb.DefaultEncoding = System.Text.Encoding.GetEncoding(""); HtmlAgilityPack.HtmlDocument doc = web.Load(url); HtmlNode rootnode = doc.DocumentNode; string xpathstring = &quo 阅读全文