September 13, 2006
Retrieve Totals from a Dataset Without Looping
Have you ever looped through the entire dataset to get the totals you need to put in the footer? The DataTable.Compute method eliminates this hassle by retrieving commonly performed arithemetic operations like sum, avg,, etc.
