title: Define DataGridView Column type Programmatically
body: <p>I need a way in which I can define the column type at run-time.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>foreach (DataGridViewColumn column in this.dataGrid.Columns)
  {
  ???
  //i.e. column.type  = checkbox
  }
  </code></pre>
  
  <p>How can I define the column type in this foreach loop?</p>