NewRow

Creates a new DataRow in the DataTable.

Syntax

Function newRow() As DataRow 

Parameters

  • None

Results

Returns the newly created DataRow

Example

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

Set dataTable=requestMsg.getDataTable 
 
Set newRow=dataTable.newRow 
newRow.setByName	"AddressLine1","10535 Boyer" 
newRow.setByName "City", "Austin" 
newRow.setByName "State", "Texas" 
dataTable.addRow newRow