Means Cell 9 does not exist
here's a code i wrote it'll simplify your work (less codes :D)
For i = 1 To DataGridView1.Columns.Count - 1
Dim label As Label = CType(Me.Controls("label" & i + 1), Label)
If Not DataGridView1.CurrentRow.Cells(i).ToString = "" Or Nothing Then
label.Text = DataGridView1.CurrentRow.Cells(i).Value
End If
Next