Dim dv As New DataView(ds.Tables("MyDataTable"),"","",DataViewRowState.Deleted)>I'm using a DataGrid to edit a table in a DataSet in a Web form. When the user clicks on the Delete button for a row, the row is marked Deleted in the DataSet. After various rows are edited, I need to iterate through the edited rows and do some database operations that depend on the values of the primary key fields for these rows. How can I get the key after the row is deleted? (You cannot access the columns of a deleted row directly.)