NewRow

Crea una nueva DataRow (Fila de datos) en DataTable.

Sintaxis

Function newRow() As DataRow 

Parámetros

  • Ninguno

Resultados

Arroja la nueva DataRow creada.

Ejemplo

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