Loop through list of Data Tables

inside for each item, I have used for each row in item, but is says object not set reference

1 Like

what is your for each loop Argument type!

1 Like



item is null here.

What value does Out_dtlist hold?

from where you are getting outDT_list
can we see the flow??

Out_dtlist holds collections datatables

Main.xaml (10.4 KB)

both for each loop is item change and
you can use second for each loop inside add to collection and pass item in the second loop!

@Pradeep_Shiv no luck, still it says object not set to the reference

Main (3).xaml (9.4 KB)

Use above code it will work. Before you are adding string value(in Target variable) to “Add to Collection” not Data table. So, getting error.


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.