DataTable Library Object

From version 7.2, Real-Time Designer has new built-in library types - DataRow and DataTable, which enable you to execute functions on DataTables. In version 7.3, the Copy DataTable, Delete All Rows, Import from XML, and Export to XML functions were added.

The business entities in this library are exposed under Business Entities > Library Types > General > DataTable and Business Entities > Library Types > General> DataRow.

The functions are exposed under Project > References > Library References > Direct.Shared > DataTable and Project > References > Library References > Direct.Shared > DataRow.

For more information about working with DataTable functions, see Using the DataTable Functions and Using the DataTable Functions with Excel and JSON.

To use these functions, create an instance of type DataTable. The following parameters display the number of columns and number of rows in the DataTable. To see the DataTable in the Monitor, select the DataTable tab.

Name

Input Type

Description

NoOfColumns Number The number of columns in the DataTable.
NoOfrows Number The number of rows in the DataTable.
DataTableName Text The DataTable name. This name will be used if you export the table to XML.

The DataTable object does not support tables with merged cells.

DataRow

The DataRow library contains functions that can be used to prepare a row before adding it to the DataTable.

DataTable