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
How long should a session id be?
How information about the user's locale can be accessed?
What is css and what is it used for?
What is postback pixel?
What is the part of url?
What is meant by asp.net?
What is base class of button control in .net?
Define application state variable and session state variable?
What is the parent class of all web server control?
How do I force the dispose method to be called automatically, as clients can forget to call dispose method?
How do you open a page in a new window?
How can u debug your .net application?
When Cookies are expired in ASP.NET?
Explain the concept of event bubbling in ASP.NET?
What is the difference between stored procedure vs function?