For each row datatable metod name expected error

What I want to do is to log the data in my excel file with the for each row datatable activity.

Excel file;
excel-file

Error;

How can I solve this problem?

@tolgademir

If you are usingn c sharp then use square brackets [ ]

And so use as below

Currentrow["ColumnName"].ToString()

Also assign will not add to excel…

If the data is in datatable then you can use write range activity directly to write the datatable to excel

Cheers

1 Like

First of all thank you for your answer, what if I used VB would I have to write it as Currentrow(“ColumnName”).ToString()

@tolgademir

Thats correct

Cheers

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