This excellent code sample shows how to make a ListView control similar to those used in Outlook and Outlook Express. The ListView looks similar to the TreeView control in that items can be 'grouped' - note that items need to be added when a ListItem is 'expanded' and removed when contracted by the programmer.
Application Security Testing: An Integral Part of DevOps
Many thanks (again) to Brad Martinez for allowing the CodeGuru site to link to another of his excellent samples. See the full article at Brad's Site.
Download zipped project (8k)
Click here for a larger image.