AddDataRow Method: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Template:APIClass|RawDataSet Class|RawDataSet}}
{{Template:APIClass|RawDataSet Class|RawDataSet}}
Adds a row of raw data to the data set.
Adds a row of raw data to the raw data set.


==Syntax==
==Syntax==
Line 6: Line 6:


Parameters
Parameters
:''row'':
:''row'': An instance of the [[RawData Class|RawData]] class, which will be added as a row to the raw data set.


==Usage Example==
==Usage Example==
{{APIComment|'Create a new RawDataSet object. See [[RawDataSet Class|RawDataSet]].}}
  Dim RDW As New RawDataSet
 
{{APIComment|'Create a new RawData object, and specify a part name and number. See [[RawData Class|RawData]].}}
  Dim row1 As New RawData
  row1.PartName = "Frame"
  row1.PartNumber = "FRM"
 
{{APIComment|'Add a row to RawDataSet object with the specified part name and number.}}
  RDW.AddDataRow(row1)

Revision as of 17:45, 6 May 2014


Adds a row of raw data to the raw data set.

Syntax

  • AddDataRow( ByVal row As RawData)

Parameters

row: An instance of the RawData class, which will be added as a row to the raw data set.

Usage Example

 'Create a new RawDataSet object. See RawDataSet. 
 Dim RDW As New RawDataSet
 
 'Create a new RawData object, and specify a part name and number. See RawData. 
 Dim row1 As New RawData
 row1.PartName = "Frame"
 row1.PartNumber = "FRM"
 
 'Add a row to RawDataSet object with the specified part name and number. 
 RDW.AddDataRow(row1)