IEnumerable with Add data row activity


hi,

i used a “find chlidren” activity to get the content of a dropdown menu but now i want to iterate through this result to add rows to my datatable with “Add data Row” but i don’t know how to use IEnumerable with this activity

thanks

Now you have got the attribute value and saved in a variable named attribute

So in add data row activity mention like this {atttibute.ToString} in ArrayRow property and mention the datatable named dt

I have mentioned as {attribute.ToString} assuming that inhale only one column in the datatable
If u have 4 columns then pass 4 values with comma as a separator like this
{“value1”, “value2”, “value3”, “value4”}

Hope this helps

Cheers @AdrienDeb

Thanks @Palaniyappan Problem solved :slight_smile:

1 Like

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