摘要:
http://www.cnblogs.com/aisini/archive/2011/03/25/1994487.html
阅读全文
posted @ 2017-04-24 15:01
zhan贱贱
阅读(167)
推荐(0)
摘要:
/验证帐号是否合法//验证规则:字母、数字、下划线组成,字母开头,4-16位。 functioncheckUser(str){varre = /^[a-zA-z]\w{3,15}$/;if(re.test(str)){alert("正确");}else{alert("错误");} }checkUse
阅读全文
posted @ 2017-04-24 09:58
zhan贱贱
阅读(36020)
推荐(2)
摘要:
1. /// <summary> /// 类型转换为文字输出 /// </summary> /// <param name="a">汇款用途</param> ///审核状态(0未处理,1开始处理,2已汇出,3账号错误) public static string A(int a) { string s
阅读全文
posted @ 2017-04-13 10:46
zhan贱贱
阅读(145)
推荐(0)
摘要:
//文件流转换 public static Stream DecompressStream(Stream sourceStream){MemoryStream responseStream = new MemoryStream();using (System.IO.Compression.GZipS
阅读全文
posted @ 2017-04-12 17:07
zhan贱贱
阅读(1828)
推荐(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贱贱
阅读(602)
推荐(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贱贱
阅读(262)
推荐(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贱贱
阅读(289)
推荐(0)