Hello! It's me again. I making a library software and I using DataBase. When I remove any record from database and then click save i got a error message: Update requires a valid DeleteCommand when passed DataRow collection with deleted rows. , and one line of code with yellow background:
Me.TableAdapterManager1.UpdateAll(Me.Database1DataSet)
I know how to fix that but i don't know what is the valid DeleteCommand in Table1TableAdapter. Table columns are: ID, FirstName, LastName, Grade, Phone, Books.
Just give me example ov valid DeleteCommand. Thanks.