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 many types of validators are there in asp net?

0 Answers  


What’s the difference between response .redirect and server.transfer?

0 Answers  


How we implement web farm and web garden concept in asp.net?

0 Answers  


What are cookies in your browser?

0 Answers  


What is validation in asp.net?

0 Answers  






How dataadapter.fill works?

0 Answers  


What is the difference between application state and caching?

0 Answers  


What is the difference between dispose() and finalize()?

0 Answers  


Why does a user need nothing more than a Web browser to view ASP.NET pages?

1 Answers  


How to implement role based security in asp.net mvc? : Asp.Net MVC

0 Answers  


What are Master Pages in ASP.NET? or What is a Master Page?

0 Answers   MCN Solutions,


Any alternative to avoid name collisions other then Namespaces?

1 Answers  


Categories