Hai , Good day
Introuduction
Here i have to discuss about Validation expression for the texbox should contain only numbers
Use RequiredFieldValidator Control - do not allow spaces
RegularExpression which allow only numbers
Implementation
\d+ Apply the above expression on your Validationexpression of your regularexpression .
will work and it wont allow spaces before or after the digits but it wont if there are only spaces
so you need RequiredFieldValidator too Match Case: only numbers Non - Match : no characters or special characters Thank you Venkat
|