AddRow

Adds a DataRow to the DataTable.

Syntax

Sub addRow(DataRow As DataRow) 

Parameters

  • DataRow to be added to the DataTable

Results

None.

Example

Dim dataTable As G1CLIENTLib.dataTable 
Dim newRow As G1CLIENTlib.DataRow 

Set dataTable=requestMsg.getDataTable 
dataTable.addColumn("AddressLine1") 
dataTable.addColumn("City") 
dataTable.addColumn("State") 
Set newRow=dataTable.newRow 
newRow.setByIndex 0, "10535 Boyer" 
newRow.setByIndex 1, "Austin" 
newRow.setByIndex 2, "Texas" 
dataTable.addRow newRow