title: DateTime parsing error while parsing dd/MM/yyyy format. String was not recognized as valid datetime
body: <p>I create a string using values from certain page elements in my web user control as below</p>
  
  <pre><code>string bookingdate = ddlDate.SelectedItem.Text 
                         + "/" + ddlMonth.SelectedValue + "/" 
                         + ddlMonth.SelectedItem.Text.Substring(4, 2);
  </code></pre>
  
  <p>and getting "String was not recognized as a valid DateTime." error on the following line</p>
  
  <pre><code>cmd.Parameters.Add(new SqlParameter("@ArrivalDate", SqlDbType.DateTime)).Value = 
      DateTime.ParseExact(bookingdate, "dd/MM/yyyy", CultureInfo.InvariantCulture);
  </code></pre>
  
  <p>How can I alter the value of this string "bookingdate" to troubleshoot the problem.</p>