title: How to add a checkbox control to a datatable?
body: <p>How can i add a checkbox to a datatable and bind it to a datagrid?</p>
  
  <pre><code>DataTable ColumnList = new DataTable();
  ColumnList.Columns.Add("Column Fields");
  
  int j = 1, i = 0;
  CheckBox colCheckbox = new CheckBox();
  foreach (Columns col in ColumnNames)
  {
      colCheckbox.Name = col.ColumnName;       
      ColumnList.Rows.Add(colCheckbox); // This is getting displayed as System.Windows.Forms.CheckBox,CheckState=0
  }
  </code></pre>
  
  <p>Please help.</p>