Skip to main content

How to: Add Custom Totals

  • 2 minutes to read

This example shows how to display custom totals in the 'Country' column field. Four custom totals calculate the Average, Sum, Min and Max values against the data field.

using System;

namespace CustomTotals {
    public partial class _Default : System.Web.UI.Page {
        protected void Page_Load(object sender, EventArgs e) {
        }
    }
}