title: Convert values from DataGridView to List<DateTime>
body: <p>I need to convert values from DataGridView to List (dd-mm-yyyy). To Add values to DataGridView, I use DateTimePicker and Button. On Button_Click:</p>
  <pre><code>DateTime dt = datetimepicker1.Value.Date;
  RowsWithDates.Rows.Add(dt.ToString(&quot;d&quot;));
  </code></pre>
  <p>Now  i want to add all dates from RowsWithDates (DataGridView) to List. I tried this, but without success.</p>
  <pre><code>List&lt;DateTime&gt; items = new List&lt;DateTime&gt;();
  foreach (DataGridViewRow dr in RowsWithDates.Rows)
  {
      DateTime item = new DateTime();
      foreach (DataGridViewCell dc in dr.Cells)
      {
          item = dc.Value;//here i had error (can't convert object to System.DateTime)
      }
      items.Add(item);
  }
  </code></pre>