I’m having difficulty looping through this nested List. I can see that there are items in the collection, i just can’t access it as it comes up as System.Collections.Generic.List (rather than the list of items shown within the Watch window).
How would i achieve this in a write line activity?
Thanks but i have already collected all items in li_Subjects & then copied them in to dt_MainStudent.
I need to loop through each distinct student & obtain a note of all the subjects associated with them. Each class has multiple students, so fr each class i’m collecting the distinct student ID then all their subjects.
If i just put them back in to another list then all the subjects will be listed - not just for the distinct student
When i’m looping through its only showing the first row of DirectCast(dt_MainStudent.Rows(0)(“Subjects”), List(Of String)) but when i change Rows(0) to (1) it shows the second line. Is there something else i can use to autoincrement within the loop please?
For further questions just open a new topic for this new question and provide us with more details of your modeling especially the different loops used so far