DataTable To Text

Converts the table to text in CSV format. The first line contains the column names; values are separated by commas and each line ends with CRLF.


⬅️INPUT

Parameter

Type

Required

Description

DataTable

DataTable

✅ Yes

Table to convert to text.


➡️OUTPUT

Parameter

Type

Description

Text

String

CSV text. Values containing a comma, a double quote or a line break are enclosed in double quotes, and the double quotes inside them are doubled. Values are written according to the system's regional settings; empty cells stay empty. If the table is empty (null) or has no columns, an empty string is returned.