title: Performance when setting a large DataSource of a DataGridView
body: <p>I have a fairly large dataset (1000 rows), that I want to feed into a DataGridView in my Windows Forms application (.NET 3.5). Querying the data from a database, and building up the DataTable is very fast, but when I set the DataSource property of the DataGridView, it literally takes around a minute before the application becomes responsive.</p>
  
  <p>I have tried setting DoubleBuffered to true using the wizardry of reflection, but this seems to have no effect. Any tips?</p>
  
  <p>Just to clarify, the code that has the awful performance is simply this:</p>
  
  <pre><code>dgv1.DataSource = dt;
  </code></pre>
  
  <p>Where 'dt' is a DataTable I have built up</p>