C
crowl
I have a pocket pc project in c#.
From a textbox i have to verify if the input is numeric. I have found
in the msdn a sample like this: textbox1.numeric = true / false. But
this do not work in my environment.
If I convert the textbox content explicit to a numeric value, and is
is not numeric, the program ran into the error handler (try catch).
This is not what I want!
For example: 2 textbox, 1 button
If the user click the button, the program should proof if the content
of the textboxes is numeric, if not, it should use a standard value
and then go on.
A nice method like 'isnumeric' would be glad.
Thanks for all assistance.
From a textbox i have to verify if the input is numeric. I have found
in the msdn a sample like this: textbox1.numeric = true / false. But
this do not work in my environment.
If I convert the textbox content explicit to a numeric value, and is
is not numeric, the program ran into the error handler (try catch).
This is not what I want!
For example: 2 textbox, 1 button
If the user click the button, the program should proof if the content
of the textboxes is numeric, if not, it should use a standard value
and then go on.
A nice method like 'isnumeric' would be glad.
Thanks for all assistance.