I have a gridview which has a ButtonField which calls the DeleteCommand of the GridView. In the code, several parameters are set up and the call is made (SqlDataSource.Delete), however, I get the following error:
"You have specified that your delete command compares all values on SqlDataSource 'SqlDataSource3', but the dictionary passed in for values is empty. Pass in a valid dictionary for delete or change your mode to OverwriteChanges."}
Any ideas as to what is wrong and how I can resolve this?