MCSD.NET - 70-316 Exam Question:
Download Questions PDF

You develop a Windows-based application XYZ. XYZ uses a DataSet object that contains two
DataTable objects. XYZ will display data from two data tables. One table contains customer
information, which must be displayed in a data-bound ListBox control. The other table contains
order 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.

Answer:

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

Download MCSD.NET - 70-316 Exam Interview Questions And Answers PDF

Previous QuestionNext Question
Suppose As a developer at XYZ you develop a new sales analysis application that reuses existing data
access components. One of these components returns a DataSet object that contains the data for
all customer orders for the previous year.
You want your application to display orders for individual product numbers. Users will specify the
appropriate product numbers at run time..
What should you do?
A. Use the DataSet.Reset method.
B. Set the RowFilter property of the DataSet object by using a filter expression.
C. Create a DataView object and set the RowFilter property by using a filter expression.
D. Create a DataView object and set the RowStateFilter property by using a filter expression.
Suppose As a programmer at XYZ inc, you use Visual Studio .NET to create several applications that will
be deployed commercially over the Internet. You must ensure that customers can verify the
authenticity of your software.
Which action or actions should you take? (Choose all that apply.)
A. Sign your portable executables by using Signcode.exe.
B. Generate an X.509 certificate by using Makecert.exe.
C. Purchase an X.509 certificate from a certificate authority.
D. Purchase a Software Publisher Certificate from a certificate authority.
E. Convert your certificate to a Software Publisher Certificate by using Cert2spc.exe.