Page 1 of 1

A developer needs to reference the element in the first row of the "ID" column in the System.Data.DataTable, "DT". Which

Posted: Wed Mar 15, 2023 5:18 am
by answerhappygod
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. DT.Rows(0).ID
B. DT.Rows(1).ID
C. DT.Rows(0).Item("ID")
D. DT.Rows(1).Item("ID")