Creating Group Header Rows in a GridView

This page is a Draft. Its content is not complete and might contain errors.

A common feature in reports is the "group header" -- a section of the report that's displayed any time the specified field changes. The following code shows how to create a group header row in a GridView. Note that this is NOT recommended if you will be using the GridView to edit rows, and the EditIndex property gets thrown off by the inserted rows.

(add code sample here)