Is the text box value a number
C#
3
Posts
3
Posters
0
Views
1
Watching
-
I want to check the input to a text box is numeric (e.g., mmddyyyy). Is there a command for this? sas
If you're using framework 2.0 you could use
DateTime.TryParse
or theMaskedTextBox
. Otherwise useDateTime.Parse
.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
I want to check the input to a text box is numeric (e.g., mmddyyyy). Is there a command for this? sas