用正则判断字符串是否为数字
摘要:System.Text.RegularExpressions.Regex rex =new System.Text.RegularExpressions.Regex(@"^\d+$"); if (rex.IsMatch(intChar)){return Convert.ToInt32(intChar);}
阅读全文
posted @ 2010-03-19 15:45
posted @ 2010-03-19 15:45
posted @ 2010-03-19 14:32
posted @ 2010-03-13 10:23