title: How to refresh datagridview after update in vb.net
body: <p>Here is my code:</p>
  
  <pre><code>        Dim sqledit As New SqlCommand
          sqledit = New SqlCommand("UPDATE Branches SET StAddress='" + txtstaddress.Text + "',City='" + txtcity.Text + "',Province='" + txtprovince.Text + "',ContactNo='" + txtcontact.Text + "' WHERE BranchID='" + txtbranchid.Text + "'", con1)
          sqledit.ExecuteNonQuery()
          MsgBox("Branch Information Updated!", MsgBoxStyle.Information, Title:="Edit Branch Information")
          utilities.Refresh()
          Me.Close()
  </code></pre>
  
  <p>I can't get to update it even if I refresh it. Please help!</p>