A developer utilized the Add Data Row activity to insert a row into a data table called "dt_Reports". However, during runtime, UiPath Studio encounters an exception, "Add Data Row: Object reference not set to an instance of an object." because the data table has not been initialized.
To rectify this issue, what should the developer include in an Assign before the Add Data Row activity?
- Assign New System.Data.DataTable = dt_Reports.
- Assign dt_Reports = New System.Data.DataRow.
- Assign dt_Reports = New System.Data.DataTable.
- Assign dt_Reports = New List(Of DataRow).
Reveal Solution Next Question