How to get datatable in foreach from List<DataTable> after add by Add to Collection activity?


I have tried to get DataTable from List, but receive error below when trying to retrieve by foreach loop. I will attach the xaml to reproduce the error, any ideas on how to resolve?


ListDataTable.xaml (8.5 KB)

Hi @kakpu
First select your for each activity then go to properties pane find TypeArgument, select DataTable data type from dropdown and you done. :smiley:

1 Like

Dear @natik.s
Thank you, this solved the problem perfectly!

I attach the fixed xaml for reference:

ListDataTable.xaml (8.7 KB)

1 Like

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