Interviewer And Interviewee Guide

MCSD.NET - 70-315 Exam Interview Question:

You are creating an ASP.NET application to track XYZ sales orders. The application uses an
ADO.NET DataSet object that contains two DataTable objects. One table is named Orders, and
the other table is named OrderDetails. The application displays data from the Orders table in a list
box. You want the order details for an order to be displayed in a grid when a user selects the
order in the list box. You want to modify these objects to enable your code to find all the order
details for the selected order.
What should you do?
A. Add a DataRelation object to the Relations collection of the DataSet object.
B. Use the DataSet.Merge method to connect the Orders table and the OrderDetails table to each
other.
C. Add a ForeignKeyConstraint to the OrderDetails table.
D. Add a keyref constraint to the DataSet schema.

Submitted by: Administrator
A. Add a DataRelation object to the Relations collection of the DataSet object.
Submitted by: Administrator

Read Online MCSD.NET - 70-315 Exam Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.