# Remove DataRow

Removes a row from the table. The row is specified by a `DataRow` object or by its index. The input table is not modified; the result is written to the `Result` output.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `DataRow` | `DataRow` | ❌ No     | Row to remove. Either `DataRow` or `RowIndex` must be set; if both are set, `DataRow` is used. |
| `RowIndex` | `Int32?` | ❌ No     | Index of the row to remove (zero-based). Either `DataRow` or `RowIndex` must be set. If it is greater than the number of rows, the activity throws an error. |
| `DataTable` | `DataTable` | ✅ Yes    | Table to remove the row from. |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `Result`  | `DataTable` | Table with the row removed. |