I am using an unbound dataGridView to display data from an sql database table.
I tried experimenting by adding a column button to the dataGridView. I did this using the Add column option in the dataGridView Tasks.
With this I created the first column button, and by double clicking that button arrived at the
dataGridView1_CellContentClick which I used to add code that deletes the selected row.
When I tried to create a second column button I found that by double clicking on it I arrive at the above event, i.e the same dataGridView1_CellContentClick
Obviously I could not use the same event to execute different tasks (like updating and deleting).
My question is this: Are we only allowed to create a single column button for a dataGridView or am I doing some thing wrong....?