Clear

Clears the data in DataTable.

Syntax

int clear(DataTable* dataTable) 

Parameters

  • Datatable - the DataTable to which this function applies

Results

Returns 0 if successful or error code.

Example

// Assume that dataTable is given here
clear(dataTable);