public static bool IsNumber(string strNumber)
{
Regex regex = new Regex("[^0-9]");
return !regex.IsMatch(strNumber);
}
相关文章:
public static bool IsNumber(string strNumber)
{
Regex regex = new Regex("[^0-9]");
return !regex.IsMatch(strNumber);
}
相关文章: