title: Unable to cast object of type 'System.DateTime' to type 'System.String'. c#
body: <p>I'm trying to display the dates and restored it to the <code>Labels = strings</code>,
  but I got an error on line <code>list.Add((string)myReader[&quot;Date&quot;]);</code></p>
  <p>Here's my code:</p>
  <pre><code>con.Open();
  myReader = cmdDB.ExecuteReader();
  List&lt;string&gt; list = new List&lt;string&gt;();
  while (myReader.Read())
  {
      list.Add((string)myReader[&quot;Date&quot;]);
  }
  
  string[] strings = list.Select(x =&gt; x.ToString()).ToArray();
  cartesianChart1.AxisX.Add(new Axis
  {
      Title = &quot;Date&quot;,
      Labels = strings
  });
  
  cartesianChart1.AxisY.Add(new Axis
  {
      Title = &quot;Sales&quot;,
      LabelFormatter = value =&gt; value.ToString()
  });
  </code></pre>
  <p>Any solution? Thank you! P.S. I'm using LiveCharts and MySQL.</p>