06 2016 档案

摘要:public string getHtml(string Url, string type = "UTF-8") { try { System.Net.HttpWebRequest wReq = (HttpWebRequest)System.Net.HttpWebRequest.Create(Url 阅读全文
posted @ 2016-06-12 14:45 —阿峰— 阅读(2286) 评论(0) 推荐(0) 编辑
摘要:public string funString_DateNear(int intDays, string strDay) { DateTime? dt = null; string strTmp = strDay; int intH = 0; bool isNear = false; if (str 阅读全文
posted @ 2016-06-06 17:03 —阿峰— 阅读(527) 评论(0) 推荐(0) 编辑
摘要:Regex reg = new Regex("<div[^>]*?class=\"类属性名称\"[^>]*>(.*?) </div>"); 此正则表达式套用即可,如果需要匹配多个则在</div>前面将<div[^>]*?class=\"类属性名称\"[^>]*>(.*?) </div> 再写一遍 o 阅读全文
posted @ 2016-06-06 17:01 —阿峰— 阅读(287) 评论(0) 推荐(0) 编辑
摘要:public string getHtml(string Url, string type = "UTF-8") { try { System.Net.WebRequest wReq = System.Net.WebRequest.Create(Url); System.Net.WebRespons 阅读全文
posted @ 2016-06-06 16:54 —阿峰— 阅读(4246) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示