Spreadsheet .NET > Tutorial > Grouping

The following example shows you how to group rows.

C# example
VB example