G
Guest
Using Datagridview databound:
If I add two rows with data, save (using navigator), refesh that dataset,
then delete the two newly added rows, then Save, everythign is OK.
if I add two rows with data, save (using navigator), then delete those two
rows, then save (using navigator), I get an error that "Concurrency Violation
- The DeleteCommand affected 0 of the expected 1 records. If I then refresh
the dataset, the two rows are still present.
I need to allow user to add and delete rows before saving the dataset back
to the database.
Any ideas?
If I add two rows with data, save (using navigator), refesh that dataset,
then delete the two newly added rows, then Save, everythign is OK.
if I add two rows with data, save (using navigator), then delete those two
rows, then save (using navigator), I get an error that "Concurrency Violation
- The DeleteCommand affected 0 of the expected 1 records. If I then refresh
the dataset, the two rows are still present.
I need to allow user to add and delete rows before saving the dataset back
to the database.
Any ideas?