title: DataGridTableStyle not working on .NET Compact framework
body: <p>I am developing a Windows Form application on a Windows Mobile 6 device and I cannot get the datagrid to format correctly.  When I use the code below there are no columns displayed, it is either ignoring my code or it is incorrect but there are no errors generated. </p>
  
  <pre><code>DataGridTableStyle dgTableStyle = new DataGridTableStyle();
  dgTableStyle.MappingName = tempDt.TableName;
  
  DataGridTextBoxColumn dgSty_name = new DataGridTextBoxColumn();
  dgSty_name.HeaderText = "name";
  dgSty_name.MappingName = "sty_name";
  dgTableStyle.GridColumnStyles.Add(dgSty_name);
  
  dataGrid1.TableStyles.Add(dgTableStyle);
  dataGrid1.DataSource = tempDt;
  </code></pre>
  
  <p>The datatable I am binding (tempDt) has about 6 columns in it, one of them is called <strong>sty_name</strong>.</p>
  
  <p>Any help greatly appreciated as this is driving me mad!</p>
  
  <p>thanks</p>
  
  <p>Mike</p>