title: String was not recognized as a valid DateTime in asp.net
body: <p>I am facing an issue while assign value to <code>DateTime stdt</code>
  please find below my code logic </p>
  
  <p><strong>startdate</strong>="06/20/2016 12:30" //format (MM/dd/yyyy HH:mm)</p>
  
  <blockquote>
    <p>DateTime stdt = Convert.ToDateTime(startdate);</p>
  </blockquote>
  
  <p>also, I had tried with below code but didn't work.</p>
  
  <blockquote>
    <p>DateTime stdt = DateTime.ParseExact(startdate, "dd/MM/yyyy",
    CultureInfo.InvariantCulture);</p>
  </blockquote>