C# tableadapter add/update/delete
- by ChrisMuench
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);