title: The DateTime represented by the string is not supported in calendar System.Globalization.GregorianCalendar
body: <p><img src="https://i.stack.imgur.com/rdRnf.png" alt="enter image description here">I simply want to save Date of Birth into SQL database, but every time getting new exception, database field type is datetime.
  here is my code</p>
  
  <pre><code> usinfo.BirthDate = DateTime.ParseExact(txtDOB.Text.ToString(), "MM/dd/yyyy", CultureInfo.InvariantCulture);
  </code></pre>