I am trying to update a datagridview in window form application. Here is my code.
string[] row = new string[] { Word, txturl.Text, Url, NumOfMatch.ToString() };
gridview1.Rows.Add(row);
gridview1.Refresh();
gridview1.Update();
However when I click on the datagridview the values appear. Why is that?