The second line of the code is giving me an "ArgumentOutOfRangeException was handled". Then it says:
"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index"
The number is non-negative so i dont know why it would be giving me this?
Code:Me.DataGridView1.Item(0, 0).Value = ds.Tables("SheldonVB").Rows(0).Item(0) Me.DataGridView1.Item(0, 1).Value = ds.Tables("SheldonVB").Rows(0).Item(1)




Reply With Quote