srikanth sri

srikanth sri

  • NA
  • 9
  • 38.2k

validate a textbox that should allow only numbers

Oct 20 2010 11:29 AM
in winforms i want to validate a textbox that should allow only numbers 

and also in other textboxes it should allow other than special characters

and also i tried to print the text in the textboxes in a label but i got like this
(apple boy cat doll)

but i want like below
apple
boy
cat
doll

please tell me how to do this?


Answers (3)