title: Dynamically auto refresh datagridview every 3 seconds vb.net
body: <p>In my form I have a datagridview which needs to be <strong>automatically refreshed</strong> every 2 seconds without me having to close the application. I have used the following timer code to try and achieve that. I have placed this code in my form load which is also where my datagridview code is:</p>
  
  <pre><code> Dim timer As New Timer()
   timer.Interval = 2000
   AddHandler timer.Tick, AddressOf timer_Tick
   timer.Start()
  
  Private Sub timer_Tick(ByVal sender As Object, ByVal e As EventArgs)
  
      Me.DataGridView1.Refresh()
  
  End Sub
  </code></pre>
  
  <p>However, all it does is flicker and <em>doesn't actually refresh the datagridview</em>. My datagrid is connected to a Access database and is <strong>not binded</strong>, I did with SQL. What am I doing wrong?</p>