摘要: //文件流转换 public static Stream DecompressStream(Stream sourceStream){MemoryStream responseStream = new MemoryStream();using (System.IO.Compression.GZipS 阅读全文
posted @ 2017-04-12 17:07 zhan贱贱 阅读(1813) 评论(0) 推荐(0) 编辑
摘要: public string jqxm(string name) { var xm = ""; var xms = ""; if (name == "") { return xms; } else { if (name.Length <= 3) { xm = name.Substring(0, 1); 阅读全文
posted @ 2017-04-12 16:33 zhan贱贱 阅读(585) 评论(0) 推荐(0) 编辑
摘要: if (filter.zjType == 身份证) { int sex = Convert.ToInt32(filter.zjType.Substring(14, 1)); filter.HyXb = sex % 2 == 0 ? 1 : 0; string chushengdate = filte 阅读全文
posted @ 2017-04-12 16:31 zhan贱贱 阅读(252) 评论(0) 推荐(0) 编辑
摘要: public static string B(string num) { string str = string.Empty; switch (num) { case "01": s = "中文1"; break; case "02": s = "中文2"; break; case "03": s 阅读全文
posted @ 2017-04-12 16:27 zhan贱贱 阅读(285) 评论(0) 推荐(0) 编辑