title: Getting a programatically added row to a DataGridView to show
body: <p>I know this is an old problem... I have DataGridView that's bound directly to a generic List of custom objects. This is the event when the user clicks the "Add new row" button:</p>
  
  <pre><code>private void btnAddStation_Click(object sender, EventArgs e)
  {
      if (dgvStationConfiguration.DataSource != null &amp;&amp; ((List&lt;StationConfiguration&gt;)dgvStationConfiguration.DataSource).Count &gt; 0)
      {
          var stations = (List&lt;StationConfiguration&gt;)dgvStationConfiguration.DataSource;
          stations.Add(new StationConfiguration(string.Empty, string.Empty, string.Empty, stations.Last().FolderName));
          IsGridDirty = true;
      }
  }
  </code></pre>
  
  <p>but the new row doesn't show up. In the debugger, I see it's been added to the datasource, but I cannot force it to show.</p>
  
  <p>I've tried the old hack of setting the datasource to null and back to the list again, but it messes up the order of my datagridview's columns.</p>
  
  <p>I've also tried Refresh and EndEdit with no success.</p>