Formats the given datatable rows and returns a table.

Syntax

Smartsite SXML CopyCode image Copy Code
string datatable.simpleformat(datatable dataTable)
string datatable.simpleformat(datatable dataTable, string simpleRowFormat)
string datatable.simpleformat(datatable dataTable, string simpleRowFormat, string rowDelimiter)

Parameters

Name Data Type Description
dataTable DataTable The data table.
simpleRowFormat String The simple row format.
To represent field values, use {1}, {2}, etc...
rowDelimiter String The row delimiter to use.

Return Value

Data Type Description
String The formatted result.

Expand image Examples

SXML