M
mabster
Hi folks,
I'm reading through David Sceppa's excellent ADO.NET book, trying to
teach myself ADO.NET, and have a question about the RowState property.
If I add a new row to a DataTable, it has a RowState of 'Added'.
If I modify an existing row, its RowState is 'Modified'.
If I add a row, but before I call AcceptChanges I modify that row, is it
still 'Added'?
I guess it has to be ... but what happens to the data I first entered
into the row that I might have overwritten with the subsequent edit?
Just trying to get a handle on how this stuff fits together
Cheers,
Matt
I'm reading through David Sceppa's excellent ADO.NET book, trying to
teach myself ADO.NET, and have a question about the RowState property.
If I add a new row to a DataTable, it has a RowState of 'Added'.
If I modify an existing row, its RowState is 'Modified'.
If I add a row, but before I call AcceptChanges I modify that row, is it
still 'Added'?
I guess it has to be ... but what happens to the data I first entered
into the row that I might have overwritten with the subsequent edit?
Just trying to get a handle on how this stuff fits together
Cheers,
Matt