Well, the error message is clear: you are trying to access a not existing array item.
For instance, if the error occurs in
Quote:
dataGridView1.Rows[e.RowIndex].Cells[3].Value.ToString();
then the
Cells
array probably has just 3 items (just
0,1,2
are valid indices).