July 2003
Intermediate to advanced
736 pages
16h 35m
English
The DataTable class in ADO.NET represents a single database table. The DataView class represents a navigable view of data. It is still possible to send a heterogeneous query to a database and display the results in one table or view, but it is preferable to request tables individually in ADO.NET and express the interrelationships as a DataRelation object. As mentioned earlier, the latter technique yields a DataSet object that can be updated by writing changes to each independent table but displayed as if it contained a single set of heterogeneous data. Having complex master–detail relationships that are updatable is the best of both worlds.
We can use code similar to that in Listing 11.3 to demonstrate ...
Read now
Unlock full access