摘要:
页面<ext:FileUpload runat="server" Label="附件" ID="attachment" Width="200px"></ext:FileUpload><ext:FileUpload runat="server" Label="照片" ID="photo" Width="200px"></ext:FileUpload>后台附件添加if (System.IO.P 阅读全文
摘要:
if ((!Regex.IsMatch(idnumber.Text, @"^(^\d{15}$|^\d{18}$|^\d{17}(X|x)$)$", RegexOptions.IgnoreCase))) { Alert.ShowInTop("您输入的身份证号码有误!"); idnumber.Text = ""; return; }用来在后台判断输入内容是否符合正则的要求。许引用using System.Text.RegularExpressions命名空间c... 阅读全文