摘要:
public static int GetAgeByIdCard(string idCard) { int age = -1; if (!string.IsNullOrWhiteSpace(idCard)) { var subStr = string.Empty; if (idCard.Length 阅读全文
摘要:
//输入只能为数字、字母、汉字 Regex reg = new Regex("^[a-zA-Z0-9-\u2E80-\u9FFF]+$"); if (request.user_name.Length > 30 || !reg.IsMatch(request.user_name)) { return 阅读全文