Sometimes, my application throws random index out of range exceptions, and I'm a bit lost to what the reason is..
As you can see the index (thi3) is under the rows count, so I don't see the problem??
Edit: This is where I declare the columns for the datatable (happens on form load)
InternalDataTable.Columns.Add("Domain")
InternalDataTable.Columns.Add("Anchor text")
InternalDataTable.Columns.Add("Status")
InternalDataTable.Columns.Add("E. Links")
InternalDataTable.Columns.Add("Thread #")
InternalDataTable.Columns.Add("Tjek", GetType(Boolean))
DataGridView1.DataSource = InternalDataTable
Edit2: I now received an error again, but now at the line below the highlighted line in the image, so indeed the problem is something with the item(x)
If InternalDataTable.Rows(thi3).Item(2) = "" Then
Edit3: Once again, the error occured, see screenshot here https://i.gyazo.com/a7cc582e4cbf33bea59a8efb9bb36497.png - (cant embed images yet) I know i should post code, but this image gives a view that both columns and rows & items are within index.