Hi Daniel,
I was thinking about that, I noticed that also just a short time ago.
As far as I can see is pushing the del key doing a remove.
A remove deletes a row totally from the datatable (acceptchanges is done for
that row).
That means that when you use that methode and do an update there is no
update and the row stays in the database.
I have seen no documentation on MSDN for that "del" key
I have searched internet also for a solution. The only solution I have seen
(and I do not know if it works) is to prevent to use the "del" key with an
API function.
The best thing you can do is making a del button on your form, how to
prevent that del key, I do not know (maybe I will search for it today).
However I think this can give very strange results.
But have also a look at this messages to dotnet newsgroups and the answers.
http://groups.google.com/groups?hl=...e+Search&meta=group=microsoft.public.dotnet.*
I know this is no answer, but I have no, maybe someone else knows it.
If you found one, please message it in this thread, than I know it also.
Cor