Are you trying to let your user enter whatever they'd like and then checking for invalid data using code on the server ?
Or
Are you trying to prevent the user from even entering in the information in the first place?
If the second case is what you're trying to do, I believe that you will have to use JavaScript to prevent the text from ever being entered. This means you'll have to develop a client side script that simply will not allow input that doesn't match the type you're expecting. Be aware that some users can by-pass this check so it is advisable to also validate the data in your server side logic.
There is no way to really prevent users from entering certain text this using pure .NET; however, there is a nice extension developed by Microsoft for .NET that will filter your textboxes for you. If you're interested, check out the package offered by Microsoft called:
ASP.NET AJAX
Cheers!
-Frinny