[code]//引用正则表达式空间using System.Text.RegularExpressions;//具体方法public bool IsNumeric(string value){return Regex.IsMatch(value, @\"^[-+]?\\d+(\\.\\d+)?$\");}
[code]//引用正则表达式空间using System.Text.RegularExpressions;//具体方法public bool IsNumeric(string value){return Regex.IsMatch(value, @\"^[-+]?\\d+(\\.\\d+)?$\");}