Easier way to have build datatable

Hi,

I need to create a build datatable but there are a lot of columns.

Is there a easier way to build a datatable for many columns? or the only way is to one by one input then on build datatable?

Regards,
Josh

HI,

We can create datatable using DataTable constractor and AddDataColumn activity as the following, for example.

Or we can also use ReadRange from worksheet OR GenerateDataTable from string to achieve it.

Regards,

FYI, using GenerateDataTable

1 Like

This will generate datatable without rows and with the columns based on the comma separated string right?

Yes. Please give it a try.

this solved my problem! tnx @Yoichi

1 Like

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