Regular Expression for Enter only digin in TextBox in Asp.net using c#

Posted by Unknown On Tuesday, 19 March 2013 0 comments
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Enter valid description" ControlToValidate="TextBox1" ValidationExpression="[0-9]+" ValidationGroup="val1"></asp:RegularExpressionValidator>

0 comments:

Post a Comment