摘要: StreamReader sr = new StreamReader(@"E:\weather.txt", Encoding.GetEncoding("GB2312")); string line; while ((line = sr.ReadLine()) != null) { line = line.Substring(1); string[] str = line.Split('\t'); CityCode cityCode = new CityCode(); cityCode.cc_Id = str[1]; cityCode.cc 阅读全文
posted @ 2013-07-29 22:34 ◆紅袖 阅读(194) 评论(0) 推荐(0) 编辑