Try
GridView.UpdateRow
Method which enable you Updates the record at the specified row index using the field values of the row.
as
void UpdateRowButton_Click(Object sender, EventArgs e)
{
CustomersGridView.UpdateRow(CustomersGridView.EditIndex, true);
}
Take a look
there-MSDN(GridView.UpdateRow Method)[
^] for more details.