Displaying a specyfic row in the Data Table

Hi everyone,

I am using the “Build Data Table” activity, I have put the data in there and would like to be able to display a specific row. How to do it?

Please help.

Hi @Paulina

Is there any specific condition to display the row!

Regards

Hi

Yeah we can display with the below steps

-dt is the datatable variable name
-to display a specific row and alll it’s value, use this in writeline activity
String.Join(“-“,dt.Rows(rowindex).ToArray())

rowindex is used to denote the row you want to display and it usually starts from 0 for first row

Here string.Join used to join all the values in the array with a delimiter specified

Cheers @Paulina

1 Like

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