Hi there.
I have a datagridview that I populate via a table adapter and everything is working just fine. Now i'd like to give the user the option of:
selecting multiple records in the grid by checking a checkbox. this checkbox is available for each row of data and i created it by adding an unbound column.
What i'd like to do is enable a button on the same form only if one or more records have been selected by the user. how do i do this I was thinking about using the event:
Private Sub DataGridView1_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick End Sub
but this event can potentially be fired many times and for any column that's selected.
Any suggestions
Also, what's the easiest way to allow the user to edit the data for a given record I need to do another query when they request an edit because the current datagrid doesn't show all the details for the record. I intend to launch a new window to do this.
Please and thanks.