|
|
|
Master-details Report
Example
This example shows how to use DataList and DataGrid controls to display related
details for a master record. Actually it's a 3 level hierarchy that can be
browsed, expanded or collapsed.
We will use the example Northwind database, tables Customers, Orders,
OrderDetails, and Products.
[+] Click here to view the detailed schema
-
A DataList displays the Customers. You can drill-down to the Orders
related to that customers.
-
Orders for a customer are displayed in a DataGrid. You can view Order Details
for a selected order in another datagrid.
[+] Click here to view the live demo
Note: Don't be surprised if the records get other values between
postbacks. Some examples are updating the data into the online database,
so if you see values changing, this means other users are making updates right
now.
Top
|