This document contains an overview of the DataGridView's data summaries and provides an example on how to calculate total and group summaries for orders in the grid created in Lesson 3.
Data Summaries - Overview
DataGridView allows you to display summary information about groups of rows or particular columns. For example, you can display the sum of values, the number of records, the minimum or maximum value, etc.
The grid supports two summary types:
An aggregate function value calculated over all rows in a column and displayed below this column.
An aggregate function value calculated over all rows in a group and displayed in a group row.