S
steve
I need to compare the value of a field in a row on an arraylist with the value of a field on a second arraylist
I have this bit of code working for arrays but cant get it working for arraylists
The secone argument here (1) represents the second field in the row, with arraylists I get a message saying to many arguments.
Can I do this with arraylists or do I need to copy the arraylists to arrays?
Thanks
For q As Integer = 0 To 9
For j As Integer = 0 To 9
If StrArray1(q, 1) = StrArray2(j, 1) Then
count = count + 1
End If
Next
Next
From http://www.developmentnow.com/g/38_0_0_0_0_0/dotnet-languages-vb.ht
Posted via DevelopmentNow.com Group
http://www.developmentnow.com
I have this bit of code working for arrays but cant get it working for arraylists
The secone argument here (1) represents the second field in the row, with arraylists I get a message saying to many arguments.
Can I do this with arraylists or do I need to copy the arraylists to arrays?
Thanks
For q As Integer = 0 To 9
For j As Integer = 0 To 9
If StrArray1(q, 1) = StrArray2(j, 1) Then
count = count + 1
End If
Next
Next
From http://www.developmentnow.com/g/38_0_0_0_0_0/dotnet-languages-vb.ht
Posted via DevelopmentNow.com Group
http://www.developmentnow.com