Is there any other concise way to get the record id from a DataGridView row double click event? Is that the event to use?
private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
{
var databaseRecordId = dataGridView1.Rows[e.RowIndex].Cells[0].Value;
//...
}
To be precise
CellDoubleClickevent better suits thanCellContentDoubleClickorCellMouseDoubleClick.