C# tableadapter add/update/delete
Posted
by ChrisMuench
on Stack Overflow
See other posts from Stack Overflow
or by ChrisMuench
Published on 2010-05-05T19:45:48Z
Indexed on
2010/05/05
19:48 UTC
Read the original article
Hit count: 279
c#
|tableadapter
I'm using the table adapter in C# where visual studio generates the code for you. I have inserts and updates working just fine using the following code.
However when trying to delete using the .update it gives me the following error.
Update requires a valid DeleteCommand when passed DataRow collection with deleted rows.
this.workersTableAdapter.Update(this.nursery_dbDataSet_workers.workers);
© Stack Overflow or respective owner