摘要: int tmp = allContent.IndexOf(" "); //第一次出现的索引值int l = " ".Length;allContent = allContent.Remove(tmp, l); //在该索引处删除110allContent = allContent.Insert(... 阅读全文
posted @ 2014-09-05 16:00 程序员徐坤 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 现象我们编码实现请求一个页面时,请求的代码类似如下代码:HttpWebRequest req = (HttpWebRequest)WebRequest.Create(strUrl);req.UserAgent = "MSIE6.0";req.Method = "GET";HttpWebRespons... 阅读全文
posted @ 2014-09-05 15:59 程序员徐坤 阅读(6712) 评论(0) 推荐(0) 编辑