追求新生活 名字2008

活着的意义

2009年8月12日

C#抓取网页数据、分析(例如抓取天气预报)-091016有更新091110update again

摘要: 先看这位大哥的blog,比较好首先将网页内容整个抓取下来,数据放在byte[]中(网络上传输时形式是byte),进一步转化为String,以便于对其操作,实例如下:private static string GetPageData(string url){ if (url == null || url.Trim() == "") return null; WebClient wc = new We... 阅读全文

posted @ 2009-08-12 12:27 pyman 阅读(4193) 评论(0) 推荐(3) 编辑

导航