2014年1月14日
摘要: public class StringUtils { /// /// 获取URL内容 UTF8编码 /// /// URL地址 /// public static string GetContent(string ContentURL) { try { Encoding enc = Encoding.UTF8; //Encoding enc = Encoding.Default; ... 阅读全文
posted @ 2014-01-14 17:33 jameshappy 阅读(1331) 评论(0) 推荐(0) 编辑
摘要: /// ///将查询字符串解析转换为泛型List的名值集合. /// ///查询字符串的值 ///结果 public static List GetMultipleRecords(string records) { List result = new List(); if (string.IsNullOrEmpty(records)) { return result; } ... 阅读全文
posted @ 2014-01-14 17:20 jameshappy 阅读(2138) 评论(0) 推荐(0) 编辑