I have a dictionary of String, String and I want to save it as a CSV. I don’t want to loop through it with the For each activity and read each row. I need something more straightforward.
Any suggestions?
I have a dictionary of String, String and I want to save it as a CSV. I don’t want to loop through it with the For each activity and read each row. I need something more straightforward.
Any suggestions?
can you try this once
Newtonsoft.Json.Linq.JArray.FromObject({dict_values}).ToObject(of system.data.DataTable)
below that use write csv activity
Hi,
Can you try the following sample?
dt = dict.Select(Function(kv) dt.LoadDataRow({kv.Key,kv.Value},False)).CopyToDataTable()
Sample20231127-1aL.zip (2.9 KB)
Regards,