AddRow
Agrega una DataRow (Fila de datos) a DataTable.
Sintaxis
Sub addRow(DataRow As DataRow)
Parámetros
- DataRow (Fila de datos) a agregar a DataTable
Resultados
Ninguno.
Ejemplo
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