title: C# Trouble with date picker setup at runtime
body: <p>I'm not sure of the path to take here.  I am creating a table that lists all images from a folder location.  I need to add columns to this table for each image, one of which should be a date picker, but there is little in the way of formatting.</p>
  
  <pre class="lang-cs prettyprint-override"><code>DataTable table = new DataTable();
  table.Columns.Add("File Name");
  table.Columns.Add("Receipt Date");
  table.Columns[1].DataType = System.Type.GetType("System.DateTime");
  table.Columns.Add("Category");
  table.Columns.Add("Amount");
  table.Columns.Add("Comments");
  table.Columns.Add("Attach");
  
  for (int i = 0; i &lt; files.Length; i++)
  {
      FileInfo file = new FileInfo(files[i]);
  
      table.Rows.Add(file.Name);
  };
  
  dataGridView1.DataSource = table;
  </code></pre>