# Build DataTable

Creates a table from the columns and rows defined at design time. The table is prepared in the window opened by the **Build DataTable** button on the activity.


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `Result`  | `DataTable` | The created table. Required; must be bound to a variable. |


---

### Usage

In the **Build DataTable** window:

* Columns are added, changed with **Edit Column** and deleted with **Delete Column**. For each column, **Column Name**, **Data Type**, **Default Value** and **Is Nullable** (whether empty values are allowed) are set.
* Rows are edited with **Add Row**, **Insert Row Above**, **Insert Row Below** and **Delete Row**; **Clear Rows** removes all rows.
* **Import** can fill the table from an Excel file, and **Export** can save it to an Excel file.
* **Save** writes the table to the activity.

If no table is defined in the window, `Result` is not assigned when the activity runs.