Marc,
Thank you very much. I have issue on implementing add row properly using
this.
User presses down arrow in last row in grid starting adding new row.
Then user changes its mind desiding that new row should not added and
presses up arrow.
DataGridView does not show this unfinished row anymore.
However entity remains in DataContext and is added to database on
SubmitChanges.
How to prevent this ghost entity addition ?
Andrus.
>I don't know if there is an easier way, but how about:
this.
User presses down arrow in last row in grid starting adding new row.
Then user changes its mind desiding that new row should not added and
presses up arrow.
DataGridView does not show this unfinished row anymore.
However entity remains in DataContext and is added to database on
SubmitChanges.
How to prevent this ghost entity addition ?
Andrus.
Comment