Thursday, April 22, 2010

Asp.net Numeric Text Box

WE can use Regular Expression vallidator to allow a text box to accept only numeric values by setting the property as
ValidationExpression="(^([0-9]*|\d*\d{1}?\d*)$)"

No comments:

Post a Comment