Hi,
in windows legacy I used to write line as item(0).toString and it worked.
How do I do it in windows based?
Thx and kind regards,
Vanja
Hi,
in windows legacy I used to write line as item(0).toString and it worked.
How do I do it in windows based?
Thx and kind regards,
Vanja
Instead of item you have to use row
It depends on what is there in forEach field
row(0).ToString will give you the first column value
cheers
Hello @VanjaV
Hope you are trying to print each value in the datatable using a For each row in datatable activity.
Maybe in legacy the variable was item, that’s why you have used item(0).ToString (here 0 is the index of the column)
Here as per the screenshot, the variable is row, so you need to use row(0).ToString or row(“Columnname”).ToString
Thanks
Thank you very much: @Gokul001 / @Anil_G / @Yoichi / @Rahul_Unnikrishnan
it is working both ways:
Kind Regards,
Vanja
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.