kumar, hay un problema con tu código
name = Me.DataGridView1.Rows(i).Cells(0).ToString()
age= Me.DataGridView1.Rows(i).Cells(1).ToString()
DEBE SER
name = Me.DataGridView1.Rows(i).Cells(0).Value.ToString()
age= Me.DataGridView1.Rows(i).Cells(1).Value.ToString()