title: Clear DataGridView with rows and headers structure of dataset bind
body: <p>I've datagrid view in form which is dynamically populating data using DataView technique through this code: </p>
  
  <pre><code> DV = New DataView()
   DV.Table = ds.Tables("rsSearch")
   FlxSearch.DataSource = DV
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/1vMFl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1vMFl.png" alt="enter image description here"></a></p>
  
  <p>but i want to remove previous column structure. similarly, when i call this grid with same <code>dataset</code> this is happening:
  <a href="https://i.stack.imgur.com/Hx5p5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Hx5p5.png" alt="enter image description here"></a>  </p>
  
  <p>I've tried many <a href="https://stackoverflow.com/q/2217175/11737639">solutions</a> of clearing and disposing DGV and DataView but couldn't achieve desired result.
  any suggestions for how to remove previously filled column structure when  loading new Data?</p>