title: How to validate TextBox value is string in C# Windows Form application
body: <p>I'm using a TextBox to enter user's name, here I want to <strong>validate that box only having alphabets</strong> which is starting with capital and continues with simple letters. For that I use the following code, even though its validating but if I enter a number after some alphabates it is not identifying that, please some one help me to find the problem.</p>
  
  <pre><code>if (!Regex.IsMatch(textBox3.Text, @"[a-zA-Z]"))
  {
      errorProvider2.SetError(textBox3, "Only use alphabates");
  }
  </code></pre>