This sample application demonstrates how rows of data can be grouped and separated in a DataGrid WebControl. New rows are dynamically added into the grid to separate rows based upon month by using the ItemDataBound event. Although the sample demonstrates how to load a DataSet with a schema and XML which is then bound to the DataGrid, the code will also work with relational data with only minor modifications to the databinding section.
|