What is DisVal?
I don't see any "x = New y" statements in your loop. Usually when you do looping of this nature, you need to create a new object at the beginning, otherwise all the iterations of the loop are going to use the same instance of an object. When you add that object to a collection, it might not get added any more than once, depending on the object type. This appears to be what's happening with your situation.
|