I\'ve searched in google there\'s an easy way to delete a record with confirmation using this code:
You are trying with a command name of Delete for your delete button. So the gridview creates a row deleting event automatically....
You need to change the command argument from Delete to something else like Delete_Product or whatever...