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.

TIA

Thanks lolafuertes but I think I have solved my problem.

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

Thanks in advance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.