2014年4月14日

摘要: List gList=new List();var query=from guest in gList where ((guest.Name.Substring(0,1)=="徐"||guest.Name.Length==2)&&guest.Age>=19) select guest;http://... 阅读全文
posted @ 2014-04-14 22:56 hellenycl 阅读(112) 评论(0) 推荐(0)

2014年4月9日

摘要: function yanzheng() { var reg = /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/; var email = $("#dddd").val(); if (reg.test(email)) { alert("正确!"); } else { alert("请输入正确的邮箱!"); ... 阅读全文
posted @ 2014-04-09 16:49 hellenycl 阅读(124) 评论(0) 推荐(0)
摘要: /// /// 身份证验证 /// /// /// public static bool CheckIDCard(string cid) { string[] aCity = new string[] { null, null, null, null, null, null, null, null, null, null, null, "北京", "天津", "河北", "山西", "内蒙古", null, null, null, null, null, "辽宁", &quo 阅读全文
posted @ 2014-04-09 16:48 hellenycl 阅读(160) 评论(0) 推荐(0)

导航