随笔分类 -  asp.net

摘要:using System.Text.RegularExpressions;private const string ZZValidInt4 = @”^[0-9]*[1-9][0-9]*$”;//temp是string类型if (Regex.IsMatch(temp, ZZValidInt4) == false){//no int//dosomeing}else{//is int//dosomeing} 阅读全文
posted @ 2011-05-23 21:18 一个土豆一棵青菜 阅读(150) 评论(0) 推荐(0) 编辑