 <p>If you are binding your DataGridView through code that is, using <code>DataSource</code> property you can clear DataGridView using the following code.</p> <p><code>dataGridView1.DataSource=null;</code></p> <p>It will not delete data from your database,just clear your DataGridView.</p>