MCSD.NET - 70-310 Exam Question: Download Questions PDF
You have a DataSet object named myDataSet. This object contains two DataTable objects
named Customers and Orders. Customers has a column named CustomerID, which is unique to
each customer.
Orders also has a column named CustomerID. You want to use the GetChildRows method of the
DataRow object to get all orders for the current customers.
What should you do?
A. Add a foreign key constraint on CustomerID of Orders between Customers and Orders.
B. Add a data relation to myDataSet on OrderID between Customers and Orders.
C. Create a unique constraint on CustomerID of Customers..
D. Create a primary key on CustomerID of Customers.
Answer:
B. Add a data relation to myDataSet on OrderID between Customers and Orders.
Download MCSD.NET - 70-310 Exam Interview Questions And Answers
PDF