Guys I know this error is not new. I have read many threads about this and solutions also. But I have done one of the solutions I know and it is still occurring.

Update requires a valid update command....

I hava defined a primary key in my database table.
What other solutions can I do?

Your data adapter Insert, Update and Delete commands had not been defined or are written wrong way.

Please, can you be so kind to show us you data adapter definition and commands? Also show how you use them, if this is possible.


Thanks lolafuertes but I think I have solved my problem.

So, please, be so kind to mark this thread as solved.

Thanks in advance.