int i = dataGridView1.CurrentRow.Index;
dataGridView1.Rows.RemoveAt(i);
The above code for deleting current selected row (only allow to select 1 row) but I still can see the row remains in datagridview. Did I miss an update or invalidate ?
ps: dataGridView1 is data-bound.
ps2: I use linq query to bind data and I don't want to query again for just to show a row was deleted, I think it will slow down performance.