Combining row with for each row



There are several rows as following:

$sample (System.Data.Datatable)

and need to combine these rows above, using for each rows:

<For each row>
For each row in $sample
row = row + row

but it doesn’t work and the error thrown like below
“+ operator is not defined in Type System.Data.Datatable”

I just want to get combined string value “hogefuga”

How can i resolve this with for each row activity?


Change this to row(0) = row(0).ToString + row(1).ToString


Hi @sarathi125
It worked perfect ! Thanks for your helpful comment :sunglasses: