Is there a way to convert output datatable to array?

Hi Guys

Is there a way to convert output datatable to array?

If there is please give me a sample workflow.

thanks!

Hi…
You can use CSV with a proper delimiter and then follow the following steps.

Capture

use assign activity and create a variable of String and on right hand side write (File.ReadAllLines(FilePath))…

Try…

Declare a string array variable as

autoCompleteStringCollection As String()

dataTable.AsEnumerable().Select(Function(r) r.Field(Of String)(“yourColumnName”)).ToArray()

1 Like