黄聪

论SEO对人类的重要性,请看我的博客:hcsem.com

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2015年3月31日

摘要: using System.Text.RegularExpressions;decodedStr = Regex.Unescape(escapeUnicodeStr); 阅读全文
posted @ 2015-03-31 17:36 黄聪 阅读(3584) 评论(1) 推荐(1) 编辑

摘要: 使用开源的类库Newtonsoft.Json(下载地址http://json.codeplex.com/)。下载后加入工程就能用。通常可以使用JObject, JsonReader, JsonWriter处理。这种方式最通用,也最灵活,可以随时修改不爽的地方。(1)使用JsonReader读Json... 阅读全文
posted @ 2015-03-31 17:05 黄聪 阅读(2800) 评论(0) 推荐(0) 编辑

摘要: public string GetHtml(string url, Encoding ed) { string Html = string.Empty;//初始化新的webRequst HttpWebRequest Request = (Ht... 阅读全文
posted @ 2015-03-31 13:36 黄聪 阅读(6117) 评论(0) 推荐(1) 编辑