title: C# DataSet CheckBox Column With DevExpress DataGrid
body: <h3>Scenario</h3>
  <p>I have a DevExpress DataGrid which is bound to a DataSet in C#.
  I want to populate each dataset row to contain a string in the first column and a checkbox in the second. My code below doesn't work quite how I want it to, and I'm not sure why.....</p>
  <h3>The Code</h3>
  <p>As you can see I've declared a dataset, but when I try and pass in a new checkbox object to the 2nd column it just displays the system name for the checkbox.</p>
  <pre><code>        DataSet prodTypeDS = new Dataset();
          DataTable prodTypeDT = prodTypeDS.Tables.Add();
          prodTypeDT.Columns.Add(&quot;MurexID&quot;, typeof(string));
          prodTypeDT.Columns.Add(&quot;Haganise&quot;,typeof(CheckBox));
  
          //WHY DOES THIS NOT WORK? 
          //(Displays &quot;System.Windows.Forms.CheckBox, CheckState: 0&quot;)
          //Instead of a checkbox.
          CheckBox c = new CheckBox();
          prodTypeDS.Tables[0].Rows.Add(&quot;Test&quot;,c);
          //This doesn't work either....
          prodTypeDS.Tables[0].Rows.Add(&quot;Test&quot;,c.CheckState);
  </code></pre>
  <p>......I hope this is just because it's a DevExpress datagrid....</p>