For textboxes we have KeyPress, KeyDown and, KeyUp events try your validations here and enable disable the e.Handle.
Note: You have to post your front-end and read posting guidelines.
How to enter only digits and only characters to textboxes
suppose at once i need to enter only digits at that time don't allow characters
and similarly for characters don't allow numerics
If this is a web application...please check out the article on How to check if a textbox contains a number. It gives an example of field validation in both server side code (this can be used in windows applications too), and client side code using JavaScript (although regex's work a bit more efficiently).