Let's say we have a DataTable with rows say:
ROW1
ROW2
ROW3
ROW4
ROW5
ROW3 has been deleted. I would like to clarify if the rows strictly follow the order of:
ROW1
ROW2
ROW4
ROW5
... or the order of ROW4 and ROW5 may change?
Thanks
Let's say we have a DataTable with rows say:
ROW1
ROW2
ROW3
ROW4
ROW5
ROW3 has been deleted. I would like to clarify if the rows strictly follow the order of:
ROW1
ROW2
ROW4
ROW5
... or the order of ROW4 and ROW5 may change?
Thanks
The rows will strictly follow the order as you have given.
On an aside: If you call DataTable's RejectChanges() method after two or more rows are deleted, they may not be reversed in the expected order. There was a bug reported for this but I dont know if it was corrected.