How can I create a new Data Table?


#1

I want to create a new data table so I can write some values to it, which I will fetch from a .csv file. I tried using “generate data table”, and “build data table”, and in the outputs i typed in the name I wanted to use for the new table, but it gives me an error: "Value of type string can not be converted to system.data.datatable."
Thanks.


#2

Create new variable in variable panel


#3

Hola @Nathaniel_Pillar,

Welcome to UiPath Community Forum.

Just hit ctr+k in the output property of read csv and pass the variable name(in case your not sure about the data type (else only you can create from variable pane))

datatable

Please join UiPath Academy Training to kick start RPA journey.
It’s free though.

Happy Automation,
Cheers
:slight_smile: