How to convert variable e

How convert extractdatatable

From the screenshot we cannot inspect the details of your implementation.

The validation message is about the wrong assignment of a String to a String array. Depending on what is to achieve correct the datatype and/or statements

In extracted data table i have to use in for. Each row

Hi @Suraj_Gaikwad_Nuvama_Grou ,

Can you provide info on what you are trying to achieve in the assign?

Regards,

Actually i want read data which store in extractdatatable

@Suraj_Gaikwad_Nuvama_Grou ,

You can use the for each row in datatable activity and then CurrentRow(“ColumnName”).tostring to access the values under the particular column.

Regards,

Yes right but for that I’m not able to pass that variable

I have to put specific data from extracted data variable

Can you check what is the type of the variable you are passing to ? Is it string or array of string

Regards,

Extractdatatable.tostring
But it’s not working
And u try also array to string

If possible, can you attach the .xaml file here to take a closer look?

Regards,

@Suraj_Gaikwad_Nuvama_Grou ,
If Your extractdatatable is DataTable then you cannot directly convert it into string variable.
You can do this with For each row Activity

image

Regards,

@Suraj_Gaikwad_Nuvama_Grou

Can you tell what is your exact requirement?
Datatable to what you want to convert?

Thanks,
Srini

When Extractdatatable is of Datatype Datatable it will NOT work.
For getting a textual representation use the Output Data Table activity

When with a for each over all Rows of a Datatable is looped then: currentRow - LoopVariable name

currentRow(ColNameOrIndex).toString - is returning a string representing a particular Column Value

OR
String.Join(“|”, currentRow.ItemArray) - is returning a flatten string of all DataColumn values of the looped row (Assumption: DataColumn Datatypes are simple datatypes)