Yes, when the button is clicked, you can use the gridView_RowCommand() method and get the selected row from the GridViewEventArgs (RowIndex).
From there, if you've stored the data in a DataTable, you can update the value directly in the DataTable, and then use the SqlDataAdapter to update SQL.
If you look into Disconnected ADO.NET database access, GridView events and DataSets, you should be fine.
Regards,
Dominic
|