5
Answers

KeypressEvent in C#

Sir, I want your help in keypress event  in the following form.

take a look to the form:-



You can see the House Number TextBox. I want the code that this control only accept the numbers as input by the user. It does not accept any key  other than numbers.

Answers (5)