You need to be able to retrieve data from DataSet object
that has four DataTable objects. There are currently
UniqueConstraint and ForeignKeyConstraint Object on the
DataTable objects to enforce the data rules. You find that
you can retrieve the data from the individual DataTable
objects, but you are not able to retrieve the data from the
combination of DataTable objects in a Parent/Child manner.
What should you do to able to retrieve the data in a
Parent/Child manner?
a) Set the EnforceParentChild parameter of the DataSet to True.
b) Set the EnforceRelation parameter of the Relations
collection to True.
c) Add DataRelation objects to the Relations Collection to
make the DataSet present the data in Parent/Child manner.
d) Add a primary key and a foreign key to each of the
DataTable objects that should present the data in a
Parent/Child manner.

Answer Posted / guest

AND C , D

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How long does an http session last?

518


What do you mean by View State and what is its role?

524


What are the versions of garbage collection?

1452


What is data binding in asp net?

582


What is a 404 redirect?

549






Is redux flux?

527


What is the difference between client-side and server-side validations in webpages?

560


What is session start?

516


Can I combine classic asp and asp.net pages?

530


What is the compiled object?

1633


How can you implement the postback property of an asp.net control?

524


Explain serialization and deserialization?

541


Can you change a master page dynamically at runtime? How?

498


What are html helpers in asp.net?

517


How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?

2237