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
Explain the use of view state?
Can you explain composite pattern?
What are the properties of the eventargs argument when capturing keyboard events?
What is the difference between a page theme and a global theme?
What are the events that happen when a client requests an asp.net page from iis server?
What is a uri query?
What is asp.net and its advantages?
What is HTTPModule and HTTPcontext? What is the use of each?
a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?
What is difference between session and cookie?
what are the ihttphandler and ihttphandlerfactory interfaces ?
What are web beacons used for?
What is the difference between sealed vs static class?
What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?
Why SessionID changes in every request in asp.net?