I'm using a 2-level hierarchial webgrid.
The data in both bands are allowed to be edited.
When the user clicks on a Submit button, I want to capture all the rows that were modified and find which cell was modified.
how do I do it? I'm using ADO.NET for the datasource
i've put this code in the updaterowbatch-event. i use the sqldataadapter, but i think it should work with ado as well..
If e.Row.DataChanged = DataChanged.Added Then
Else
End If
If cell.Column.Key <> "ID" Then
If Not cell.Value Is Nothing Then
row(cell.Column.Key) = cell.Value
row(cell.Column.Key) = DBNull.Value
Next