Greeting dear members,
I keep getting this error when attempting to modify data in the my datatable and saving it:
"Update requires a valid UpdateCommand when passed DataRow collection with modified rows"
Eventough I assigned a primary key to my table.
What could be the reason??
Update requires a valid UpdateCommand when passed DataRow collection with modified rows.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Posted Jun 9, 2011, 4:15 AM EDT
For this you can use CommandBuiler.
Sam HobbsRank #108 · 20.5K reputationPosted Jun 9, 2011, 9:21 PM EDT