This page is an enhancement to the Master Detail Sample.
Like the master/detail sample, this page displays the order details for each order. Additionally, summary data is displayed for both the Orders table and the Order Details table by handling the GridDataBind event. Note that these calculations do not require an extra query and roundtrip to the database, and are therefore a good method of quickly calculating aggregations over the current table.
- For the orders table, the total numer of orders is displayed.
- For the order details table, the total value of the order details is
calculated and displayed.