Maven4Champ
Technical User
- Jun 16, 2004
- 154
I am receiving this error at position 330 in my loop. Here is the code:
It errors at position 330 at this part of the code. Any ideas what causes this? Is it because of an Out of Range of the array error and if so, how to prevent it?
Thanks!
Code:
Dim excludedList As New ArrayList()
For Each dr As DataRowView In dv1
excludedList.Add(dv1.Table.Rows(x).Item(0).ToString)
x = x + 1
Next
It errors at position 330 at this part of the code. Any ideas what causes this? Is it because of an Out of Range of the array error and if so, how to prevent it?
Thanks!