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: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments