C
C P
I have a DataSet that's not connected to any DataAdapter or anything. I
know that if I call DataRow.Delete(), then that row doesn't actually get
deleted until I call DataRow.AcceptChanges(). DataRow.Delete() just sets
DataRow.RowState to Deleted.
However, if before I call, AcceptChanges(), I change the values of a column
in the DataRow, will the RowState change from Deleted to Modified - or do I
have to cancel the pending deletion before editing the DataRow?
Also, does DataTable.Find(), find rows with a RowState of Deleted?
Thanks,
Chris
know that if I call DataRow.Delete(), then that row doesn't actually get
deleted until I call DataRow.AcceptChanges(). DataRow.Delete() just sets
DataRow.RowState to Deleted.
However, if before I call, AcceptChanges(), I change the values of a column
in the DataRow, will the RowState change from Deleted to Modified - or do I
have to cancel the pending deletion before editing the DataRow?
Also, does DataTable.Find(), find rows with a RowState of Deleted?
Thanks,
Chris