Adding Data Row

Describes how to add data row to the output data schema

1. Create output data table object

The output data table is created the same for all data schemas. The code example below generates an output data table object.

OutputTable table = new OutputTable();

2. Add data row

Add a row of data to the output data table you created. The code example below adds a row of data in the output data schema, SampleOutputData, to the OutputTable.

OutputTable outputTable = new OutputTable();

SampleOutputData row = new SampleOutputData(); // Create data row

row.COL_1 = 1;
row.COL_2 = 2;

outputTable.AddRow(row); // Add data row to table

Last updated