How to pass datatable varaibale into add data row activity?

hi all

Add data row activity-{str1,str2,str3,str4,dt1(datatable variable)}

str1,…-string variable
dt1-data table variable.

can I pass the data table variable like this?

because I’m trying to create a new data table.

@ganesh_rajan In add data row you can pass only string variables not data table variable

how to pass dt varaibale into datarow? any possibility

@ganesh_rajan Please check below workflow.

Test.xaml (16.1 KB)

If your getting error in JsonConvert method just import Newtonsoft.Json namespace

Yes i will check…May i know one thing

How to delete last row in a data table?

@ganesh_rajan Use remove DataRow activity with rowindex property as

(YourDataTableVariable.Rows.Count-1)
1 Like