Skip to main content

Data Table To CSV

Overview


Converts a Data Table to CSV

Input

NameRequiredDescription
Data TableThe Data Table to convert

File Saving

NameRequiredDescription
Save To FileSaves the CSV to file instead of outputting it
Save File PathThe file path to save the CSV to (e.g C:\Users\Name\Desktop\Untitled.csv)
File EncodingThe encoding of the CSV file (e.g. UTF-8, ASCII)

Advanced

NameRequiredDescription
Delimiter CharacterThe character that separates each value in the CSV (e.g. ,)
Encapsulation CharacterThe character that surrounds each value in the CSV (e.g. ")
DateTime FormatThe format used for all DateTime values e.g. yyyy-MM-dd HH:mm:ss gives 2023-12-31 23:59:59
Empty ValueThe value to use in place of all empty values

Output

NameRequiredDescription
Action SuccessTrue if the action passed, false if it failed.
CSVThe CSV string output (File saving disabled)
Saved File PathThe file path to the saved CSV file (File saving enabled)