title: I only want letter to be accepted into the textbox on vb.net
body: <p>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</p>
  
  <pre><code>    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 If
  
  End Sub
  </code></pre>
  
  <p>End Class</p>
  
  <p>And I need simple methods, nothing with [a-zA-Z0-9], or RegEx patterns, as ive researched these and I cannot use them.</p>
  
  <p>Thankyou</p>