NewRow

Creates a new DataRow to the DataTable.

Syntax

public DataRow newRow() 

Parameters

  • None

Results

Returns the newly created DataRow

Example

DataRow row = dataTable.newRow();
row.set("AddressLine1", "4203 Greenridge");

dataTable.addRow(row);