Exam4Training

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?
A . DT.Rows(0).ID
B. DT.Rows(1).ID
C. DT.Rows(0).Item("ID")
D. DT.Rows(1).Item("ID")

Answer: B

Exit mobile version