title: VB.NET: Clear DataGridView
body: <p>I've tried -</p>
  
  <pre><code>DataGridView1.DataSource=Nothing
  </code></pre>
  
  <p>and</p>
  
  <pre><code>DataGridView1.DataSource=Nothing
  DataGridView1.Refresh()
  </code></pre>
  
  <p>and</p>
  
  <pre><code>DataGridView1.RefreshEdit()
  </code></pre>
  
  <p>None of them works..</p>
  
  <p>I've written a method that sets the DataSource of the DataGridView when executed. but each time i execute it, it replicates the data with new value and appends it to the previous contents of the DGV.. I wanna clear the content and then add the values.. Is that possible?</p>