> For the complete documentation index, see [llms.txt](https://swonh.gitbook.io/sdmp-user-manual-eng/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://swonh.gitbook.io/sdmp-user-manual-eng/data-handling/writing-output-data/adding-data-row.md).

# 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.

```csharp
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`.

```csharp
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
```
