摘要: 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 阅读全文
posted @ 2013-05-31 18:02 (二少)在南极 阅读(1365) 评论(0) 推荐(1) 编辑