I have some trouble with setting the last row in my datagridview selected. I select the last row this way:
if (grid.Rows.Count > 0) { try { gr
dataGridView1.Rows[dataGridView1.Rows.Count - 1].Selected = true;