Câu 26: UiADAv1: UiPath Automation Developer Associate v1.0
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…
Nội dung câu hỏi
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?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Assign New System.Data.DataTable = dt_Reports.
- B. Assign dt_Reports = New System.Data.DataRow.
- C. Assign dt_Reports = New System.Data.DataTable. — đáp án hiện tại
- D. Assign dt_Reports = New List(Of DataRow).
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.