I want to have an empty column if there is no data (Data Scraping)

I use the Data scraping activity in a loop, and the goal is to put all the results in a single csv file.
The problem is that if there is no data for a column, the column does not appear in output DataTable and suddenly I end up with format tables different.

Do you have an idea to solve this problem?

you can check those datatables and insert the columns manually…

I have to use what as activities to be able to do this ?

you need a code like this to be run:
dt.Columns.Add("ColumnName", GetType(String)).SetOrdinal(0)
could be in an invoke code

1 Like

Check this post to add a column Adding Columns to a datatable