I have a CSV file. I need to insert a new column at the beginning with the file name in it


kindly note: we are surrounding the filename with ’
dt_csv.Columns(YourColNameOrIndex).Expression = String.Format(" ‘{0}’, filename )

1 Like

That’s from assign activity When I was using dt_csv(“column name”).Expression = “filename”

have updated post above

1 Like