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
Can we handle the error and redirect to some pages using web.config?
Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?
How can you handle errors in Web API?
What is the appSettings Section in the web.config file?
What is OSI layer? Explain different layers.
What is difference between viewstate and session in asp net?
Why will you usually create an aspnet user account in the database for an asp.net web application?
Can viewstate be accessed in another page?
What is server redirect?
How can you handle exceptions in asp.net?
Which type if caching will be used if we want to cache the portion of a page instead of whole page?
How to create discussion forum in asp.net mvc? : Asp.Net MVC
What is the use of global.asax file?
What are the different properties of server control that exists?
Difference between overriding and overloading?