SyntaxFix
Write A Post
Hire A Developer
Questions
Try following code in KeyPress event of textbox
if (char.IsLetter(e.KeyChar) == false & Convert.ToString(e.KeyChar) != Microsoft.VisualBasic.Constants.vbBack) e.Handled = true