Quando aggiungo una riga devo aggiungere l'esame nell'ArrayList...
Ma questo dà errore in esecuzione...

codice:
private void NuovoEsame(object sender, DataGridViewRowsAddedEventArgs e)
        {
            this.studente.piano.ListaEsami.Add(new Esame(this.dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString(),
                                                         this.dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString(),
                                                         this.dataGridView1.Rows[e.RowIndex].Cells[2].Value.ToString(),
                                                         this.dataGridView1.Rows[e.RowIndex].Cells[3].Value.ToString(),
                                                         this.dataGridView1.Rows[e.RowIndex].Cells[4].Value.ToString()));
        }
Help!