Example data at image below :

I need to get the result of data by specific row such as … → 3 then result
will be come out like this
ben more canada
Example data at image below :

I need to get the result of data by specific row such as … → 3 then result
will be come out like this
ben more canada
Hi @lovepong66 ,
You could try with the below Steps :
Read the Excel sheet using Workbook Read Range Activity, we get the output as a Datatable, say DT.
Next, using the resultant Datatable we can get the values of the required row.
In your case, row 3, In datatable, the indices start from 0 , hence the expression to get the row value would be like DT.Rows(2).ItemArray
Now, to get it into String format, we can use String Join :
String.Join(" ",DT.Rows(2).ItemArray)
Let us know if this doesn’t work or is not the expected output.
HI @lovepong66
Check this steps
Read range and store in the Dt
String.Join(" ",Dt.Rows(0).ItemArray)
Regards
Sudharsan
You need to change the number as per the row you need @lovepong66
That’s exactly what I want. Thank you very much.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.