C# code:if (!yourdataGrid.Rows[i].IsNewRow){ yourdataGrid.Rows.RemoveAt(i); }
quote:Originally posted by MX-G so i cannot delete it by anyway?
quote:Originally posted by MX-G I'm trying to delete the latest row in a DataGridView on C# .net and that exception appears, why because???? It only happens with the latest