title: Setting/changing ValueType for a bounded DataGridView
body: <p>I have such XML string:</p>
  
  <pre><code>    xmlstring =
          "&lt;?xml version='1.0' encoding='utf-8'?&gt;" &amp;
          "&lt;ArrayOfMyData xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'&gt;" &amp;
          "  &lt;MyData&gt;" &amp;
          "    &lt;ID&gt;80&lt;/ID&gt;" &amp;
          "    &lt;MyDate&gt;2019-08-07T07:15:32.123&lt;/MyDate&gt;" &amp;
          "    &lt;MyBool&gt;true&lt;/MyBool&gt;" &amp;
          "  &lt;/MyData&gt;" &amp;
          "  &lt;MyData&gt;" &amp;
          "    &lt;ID&gt;1&lt;/ID&gt;" &amp;
          "    &lt;MyDate&gt;2019-10-16T14:23:23.654&lt;/MyDate&gt;" &amp;
          "    &lt;MyBool&gt;false&lt;/MyBool&gt;" &amp;
          "  &lt;/MyData&gt;" &amp;
          "  &lt;MyData&gt;" &amp;
          "    &lt;ID&gt;203&lt;/ID&gt;" &amp;
          "    &lt;MyDate&gt;2019-10-25T11:02:26.789&lt;/MyDate&gt;" &amp;
          "    &lt;MyBool&gt;false&lt;/MyBool&gt;" &amp;
          "  &lt;/MyData&gt;" &amp;
          "&lt;/ArrayOfMyData&gt;"
  </code></pre>
  
  <p>Then I load it automatically to DataGridView:</p>
  
  <pre><code>        Dim dataSet As DataSet = New DataSet()
          dataSet.ReadXml(New StringReader(xmlstring))
          dgv_list.DataSource = dataSet.Tables(0)
  </code></pre>
  
  <p>And that is going very well.<br>
  DataGridView generate automatically columns and rows what is visible in fast populated grid.<br>
  But problem is that columns are of type <code>string, string, string</code> while I would like <code>integer, date, boolean</code> because of (re)sorting purposes.<br>
  As an alternative I know a way for creatnig/setup columns "manually", then fill a DGV cell by cell/row by row.  </p>
  
  <p>What interesting me is if here exists any trick/solution to change value type of columns in showed case to preserve maximal level of automation?<br>
  I try to change columns ValueType under <code>_ColumnAdded</code> handler, change written data under <code>_CellFormating</code> event handler and much more. But everything without any wanted result.   </p>
  
  <p>Please help!</p>