سلام
            int id = dataGridView2.CurrentRow.Index;
dataGridView2.Rows.RemoveAt(id);