AddRow

Ajoute un DataRow à la DataTable.

Syntaxe

Sub addRow(DataRow As DataRow) 

Paramètres

  • DataRow à ajouter à la DataTable

Résultats

Aucun

Exemple

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