title: String was not recognized as a valid DateTime during insert
body: <p>I get the following error when i try to convert to date time.</p>
  
  <blockquote>
    <p>String was not recognized as a valid DateTime.</p>
  </blockquote>
  
  <pre><code> cost.b_date = DateTime.Parse(c_date.Text) ;//c_date.Text = 12/28/2012
  </code></pre>
  
  <p>Then i try </p>
  
  <pre><code>    string date = string.Format("{0:yyyy-MM-dd}",c_date.Text);
      cost.b_date = DateTime.Parse(date) ;
  </code></pre>
  
  <p>but i get the same exception how to fix this problem.</p>