Correct Answer C

A. Incorrect. Calling the GetChildRows method of the DataView is not the correct way to access related records in a DataView.

B. Incorrect. Calling the CreateChildView method of the DataView is not the correct way to access related records in a DataView.

C. Correct. The correct way to access related records using a DataView is to call the CreateChildView method of the DataRowView.

D. Incorrect. Calling the GetParentRow method of the DataView is not the correct way to access related records in a DataView.

Was this article helpful?

0 0

Post a comment