Sunday 2 December 2012

Numeric TextBox C#

Numeric TextBox C#

<asp:TextBox ID="TextBox1" runat="server" Text="Numbers only"  TextMode="Number"></asp:TextBox>


If u want to restrict values, u need to write validations (i.e server side validations or client side validations)


No comments:

Post a Comment