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.



You need to be able to retrieve data from DataSet object that has four DataTable objects. There are..

Answer / guest

AND C , D

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

How would you create a permanent cookie?

0 Answers  


Explain the asp.net session state modes.

0 Answers  


what is difference between User Control,Custom Contro1,Web server control and template controls

1 Answers  


What is view state management in asp net?

0 Answers  


Can you set the session out time manually?

0 Answers  


Is overloading possible in web services?

3 Answers   Microsoft,


How ViewstateMac works?

0 Answers   CGI,


How to do state management in ASP.NET?

0 Answers   BirlaSoft,


How to configure a website without using IIS.

3 Answers   CGI,


what are the server controls used in sitepath navigation?

1 Answers  


Can we Run the Application without Build

3 Answers   Emphasis,


Are cookies stored on server or client?

0 Answers  


Categories