title: DataGridView Edit Mode
body: <p>Currently I have a .NET <code>DataGridView</code> displaying data from my source <code>DataTable</code> <code>dt</code>. I'd like it to be able to be edited so that when the user clicks into a cell and makes changes the changes will eventually get stored back into the <code>DataTable</code> source. So far I've tried:</p>
  
  <pre><code>dataGridView1.DataSource = dt;
  dataGridView1.EditMode = DataGridViewEditMode.EditOnEnter;
  </code></pre>
  
  <p>But this won't allow me to edit anything in the table. Any suggestions?</p>
  
  <p>Thanks for the help.</p>