One way you can do that is by loading the gridview in edit mode.
Then you have a button on the page and set this method on click:
protected void Button1_Click(object sender, EventArgs e)
{
for (int i = 0; i < GridView1.Rows.Count; i++)
{
GridView1.UpdateRow(i, false);
}
}