:( Here's my gridview full code: " Select Command="SELECT * FROM [Pending Records]" Delete Command="DELETE FROM [Pending Records] WHERE [ID] = ?
" Insert Command="INSERT INTO [Pending Records] ([Username], [Password], [First Name], [Last Name], [Middle Name], [Address], [Gender], [Contact Number], [Plate Number], [Color], [Brand], [Liscensed Number]) VALUES (?
You need to change the command argument from Delete to something else like Delete_Product or whatever you want...
This error occurs when I click the Update button to update a row of record. My first take was that gridview needed on Row Updating but after adding (see markup code), still getting same error.
For those who do not know on how to generate Events in Grid View you can follow these steps below: You are trying with a command name of Delete for your delete button.