Mavengers
Developer's Blog
Friday, May 1, 2015
asp.net check is numeric
public static bool IsNumeric(string s)
{
try
{
Decimal.Parse(s);
}
catch
{
return false;
}
return true;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment