How to store variable value in column of data table

Dear forum members
I have 2 Variable in which i have integer value and i want to store these value in to datatable column.
How to store it.
Help me out.

Thankx

Hi @Yankit_singh

Welcome to forum

U can use add datatrow to add that value to specified column.

Regards

Nived N :robot:

Happy Automation :relaxed::relaxed::relaxed:

1 Like

Hello!

Check this out - How to add new value (data row) in existing Datatable? - #3 by vvaidya

Hi @Yankit_singh,

You can easily add data to datatable which is in your variable by using the expression below in assisgn activity->
YourDataTable.Rows(rowindex)(ColumnName or ColumnIndex) = Variable1
YourDataTable.Rows(rowindex)(ColumnName or ColumnIndex) = Variable2

Let me know, if it helps