Excel file

Hello i want to use for each row in a data table starting from the buttom .
any help Please!
Thanks

There is no direct way to reverse a data table.
Follow these steps -

dataRows[] = yourDataTable.Select  //converting a data table to an array
Array.Reverse(dataRows[]) //reverse an array
For Each row in dataRows[]

Regards,
Karthik Byggari

1 Like

Array.Reverse(dataRows) has to be Inside an assign?

Not assign, you have to use Invoke method activity and pass the arguments as required.
Just google it for sample.

Regards,
Karthik Byggari

2 Likes

Hi @teyssir1

Use for each row in Datatable.Reverse

Print the rows

Thanks
Ashwin.S

1 Like

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