Link to home
Start Free TrialLog in
Avatar of bamaman93081
bamaman93081

asked on

IsNumeric

I am building a C# application and would like to use the IsNumeric Function somewhat like you use in VB.  I noticed that it is not present in C#.  Any help?  I am very new to C# and trying to teach myself the language.  I want to validate that the data entered in a text box and passed to an addition operation is numeric.
Avatar of aponcealbuerne
aponcealbuerne

Hi:
You could use the int.TryParse method or maybe double.TryParse to validate it
hope helps
ASKER CERTIFIED SOLUTION
Avatar of bramsquad
bramsquad
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial