Inserting string value in the corresponding data column


I have created a datatable dt=new
and given the add data column and gave the column name as assigned_grp and datatable name as dt.

Then used the Assign activity dt.rows(0).item("assigned_grp)= “ASG”

while running the error is showing as “There is no row at position 0”.

I am struggling on this part for many hours.
Anyone please help

Try using Build Data Table Activity, I think it is better then creating empty DataTable variable

1 Like

Hi @Rachel7

Have you tried to print the data table ?


Random Forum Stuff.xaml (7.1 KB)

Try this

Thankyou Ajju and srdjan

1 Like

Using build datatable and using add data row solved the issue .Thank you @srdjan.suc

1 Like

Mark it down as a solution if you solved your problem so people can see it faster if they have the same problem

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.