NewRow

新しい DataRow を DataTable 内に作成します。

構文

Function newRow() As DataRow 

パラメータ

  • なし

結果

新規作成された DataRow を返します。

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