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
Have you thought about using Linq for this?
grid.Rows.OfType().Last().Selected = true; grid.CurrentCell = grid.Rows.OfType().Last().Cells.OfType().First(); // if first wanted