AddRow

Agrega una fila a DataTable.

Sintaxis

public void addRow(DataRow row) 

Parámetros

  • Row: DataRow (Fila de datos) a agregar a DataTable

Resultados

Ninguno.

Ejemplo

DataTable dataTable = message.getDataTable(); 

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

dataTable.addRow(row);