1

Possible Duplicate:
How do I make a textbox that only accepts numbers?

Hi All

I Want Create a Numeric TextBox that Accept Numeric Keys And Then Separate Number with Comma. Please Help Me for ...

Community
  • 1
  • 1
Hossein Moradinia
  • 5,936
  • 14
  • 57
  • 85

2 Answers2

6

You're looking for the NumericUpDown control and its ThousandsSeparator property.

SLaks
  • 837,282
  • 173
  • 1,862
  • 1,933
0

there is a full-featured sample DecimalTextBox control that can be installed from here: http://download.microsoft.com/download/0/8/7/087e6a47-7306-4a5c-ad97-d1ffd58d712e/DecimalTextBox.msi

best regards

The Chris
  • 572
  • 6
  • 19