title: Refresh DataGridView after executing SQL Command?
body: <p>Here is my code:   </p>
  
  <pre><code> cn.Open()
       cmd.CommandText = "insert into Student values('" ......
        cmd.ExecuteNonQuery()
          cn.Close()
  </code></pre>
  
  <p>After closing the connection I want my DataGridView to refresh it's data's also.<BR/>
  I am new in VB.NET I tried <code>datagridview.refresh()</code> but it's not working as I think it's like repainting not updating it's data's.
  <BR/>
  Thanks.</p>