Click here to Skip to main content
15,881,812 members
Articles / Web Development / HTML

Text box to accept only number

22 Apr 2011CPOL 3.7K   22
Here is an alternative for winFormpublic class NumericTextBox : TextBox { private string[] UnapprovedChar = new string[] { " ", "`", "~", "!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "-", "_", "=", "+", "{", "[", "}", "]", "\\", "|", ":", ";", "\"", "'", "",...
Only logged in members can view this content

Please go to the HTML Table of Contents to view the list of available articles in this section.