|
-
Jan 31st, 2003, 11:11 PM
#1
Thread Starter
Frenzied Member
Check for characters
This causes a fatal error if the input is not a number.
if ((float.Parse(x.Text) >- 1)||(float.Parse(x.Text) < 9999999))
How do I stop the the conversion if the user enters in a character?
How do I check to see if what was entered was a character or number?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|