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
  • 6,116
  • 14
  • 59
  • 85

2 Answers2

6

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

SLaks
  • 868,454
  • 176
  • 1,908
  • 1,964
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
  • 591
  • 6
  • 19