Answers

Question and Answer:

  Home  MCSD.NET - 70-306 Exam

⟩ Suppose You develop a Windows-based application. The application uses a DataSet object that containstwo DataTable objects. The application will display data from the two data tables. One tablecontains customer information, which must be displayed in a data-bound ListBox control. Theother table contains order information, which must be displayed in a DataGrid control.You need to modify your application to enable the list box functionality. What should you do?A. Use the DataSet.Merge method.B. Define primary keys for the DataTable objects.C. Create a foreign key constraint on the DataSet object.D. Add a DataRelation object to the Relation collection of the DataSet object.

D. Add a DataRelation object to the Relation collection of the DataSet object.

 151 views

More Questions for you: