Answers

Question and Answer:

  Home  MCSD.NET - 70-316 Exam

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

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

 126 views

More Questions for you: