Convert datatable to string using output activity not work

convert datatable to string using output activity not work.As mention in attachment both value not matched.How to matched these value


@Aditya10989,

Can you try using a for each row activity, parse your datatable and call out row elements by index. eg inside a write line activity, inside a for each row, row(0).ToString

Hello @Aditya10989,

First please print total rows of datatable to confirm that our datatable has some data.
datatable.rows.count.tostring

OR

you could share your excel with us.

Thanks,
Pankaj

this is custom activity we are passing sql query this will return output and this sql query I am getting count and this return data as data table.now I want to convert to string.So I need to use output activity

Kindly use a attached workflow, just tried out and sharing with you.
_Test.xaml (8.0 KB)