I am writing this code:
myDataSet.Table s["WORKER"].Rows[index].Delete();
myDataAdapter.U pdate(myDataSet , "WORKER");
myDataSet.Table s["WORKER"].AcceptChanges( );
and I have this error:
"Update requires a valid DeleteCommand when passed DataRow collection with deleted rows."
What can I do???
myDataSet.Table s["WORKER"].Rows[index].Delete();
myDataAdapter.U pdate(myDataSet , "WORKER");
myDataSet.Table s["WORKER"].AcceptChanges( );
and I have this error:
"Update requires a valid DeleteCommand when passed DataRow collection with deleted rows."
What can I do???
Comment