I only want letter to be accepted into the textbox on vb.net
问题 Ive been trying to do this, so the textbox only accepts letters, but the validation does not work. Even when I enter numbers it processes it and shows the first lblError of "Thankyou for your details", where it should actually be "Enter A Valid Name ". is their are validation test similar to IsNumeric for this type of problem? plz help Dim MyName As String If txtMyName.Text Then MyName = txtMyName.Text lblError.Text = "Thankyou for your details" Else lblError.Text = "Enter A Valid Name " End