Answers

Question and Answer:

  Home  MCSD.NET - 70-310 Exam

⟩ You have a DataSet object named myDataSet. This object contains two DataTable objectsnamed Customers and Orders. Customers has a column named CustomerID, which is unique toeach customer.Orders also has a column named CustomerID. You want to use the GetChildRows method of theDataRow 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.

B. Add a data relation to myDataSet on OrderID between Customers and Orders.

 202 views

More Questions for you: