A developer needs to reference the element in the first row of the "ID" column in the System.Data.DataTable, "DT".
Which expression is used to reference this element?
A developer needs to reference the element in the first row of the "ID" column in the System.Data.DataTable, "DT".
Which expression is used to reference this element?
In System.Data.DataTable, rows are zero-indexed, meaning the first row is accessed using index 0. To reference a specific column by name in a particular row, the 'Item' property is used. Therefore, the expression DT.Rows(0).Item("ID") correctly references the element in the first row of the 'ID' column.
https://forum.uipath.com/t/excel-data-table/93618
first row = index 0
First row (index 0), Item("ID"), No question. It's C
the correct answer is C. 1st row will be at 0th position.
Correct answer should be C
the first index is zero please...
Ans -C
another 'correct answer' wrong
First row (index 0), Item("ID"), No question. It's C
Correct Answer is C