|
-
May 3rd, 2007, 12:26 PM
#1
Simple C# validation.
I am having trouble with simple validation.
All I want to do is validate a text box so that if a number is entered, an error occurs.
I can check lengths and for nulls but I cant figure this one out.
I have tried using a char.IsDigit but that doesnt work, and apparently it isnt as simple as string.contains = 1,2,3 etc.
Im really stuck. Can anybody help me out?
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
|