Validating text box
-
I have a text box. It's input should be integer. I want to validate this text box so that it's value should be integer. What validation control shouuld I use.
seema
The regex one seems like the best bet to me.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
I have a text box. It's input should be integer. I want to validate this text box so that it's value should be integer. What validation control shouuld I use.
seema
RegularExpressionValidator Set ValidationExpression="\d+" accept only integer value. OR CompareValidator Set Property Type="integer" ValueToCompare="0" Operator="greaterthanequal" Best Regard Pathan
---------------------------------------------------