|
I generated a dataset in the project and then used it to generate a datagridview and bindingnavigator in the window. Both are automatically generated. When using the navigation bar to insert a new entry into the database, there is no problem, but the delete button on the navigation bar deletes the data and then An exception occurred when pressing the save button to save
The description of the exception is
System.InvalidOperationException: Update requires a valid DeleteCommand when passed DataRow collection with deleted rows.
Does the expert know what's going on, please give me some pointers, very anxious, thank you |
|