title: How to update or refresh DataGridView after inserting a row
body: <p>I am trying to update a datagridview in window form application.
  Here is my code.</p>
  
  <pre><code>    string[] row = new string[] { Word, txturl.Text, Url, NumOfMatch.ToString() };
      gridview1.Rows.Add(row);
      gridview1.Refresh();
      gridview1.Update();
  </code></pre>
  
  <p>However when I click on the datagridview the values appear. Why is that? </p>