You can follow the steps
- Delete the first column as you dont need usign delete data row
- Now use generate datatable activity and pass the string as
String.Join(",",dt.AsEnumerable.Select(function(x) x(0).ToString))
and select comma as row separator and check the header box - Delete the column which you want as headers also the second one
- Now use for loop with loop on all columns dt.Columns
- Now inside use add data row and in the arrayrow property pass
String.Join(",",dt.AsEnumerable.Select(function(x) x(currentitem.ColumnName).ToString))
and in datatable pass the generated table in step 2
Cheers