摘要: /// ///验证输入的数据是不是正整数 /// ///传入字符串 ///返回true或者false public static bool IsNumeric(string str) { return Regex.IsMatch(str, @"^[0-9]\d*$"); ... 阅读全文
posted @ 2014-12-23 11:35 平民的麦田 阅读(457) 评论(0) 推荐(0) 编辑