Xceed Grid for WinForms v4.3 Documentation
Welcome to Xceed Grid for WinForms v4.3 / Sample applications / MasterDetailSimple Sample Application
In This Topic
    MasterDetailSimple Sample Application
    In This Topic

    Programming languages

    VB.NET, C#

    Overview

    This sample binds the grid to a DataSet containing two tables in a master/detail relationship (Orders + Order Details) and demonstrates how the grid automatically displays this in a hierarchical format. You can also group rows together if you want on either the master or the detail grid, and experiment with the UIStyle property which lets you choose from classic Windows look, XP that follows the system theme or auto-detect and match OS (this last possibility is labeled 'system' in the sample's combo-box).

    Demonstrates

    • How to bind the grid to a DataSet with a hierarchical relationship 

    • How to use a ValueRow in the footer of a detail grid to summarize row contents.

    • Use of the UIStyle property 

    • Displaying the GenerateReportForm to create reports
       

    Project location & filename

    C#: Xceed Samples\Xceed Grid for WinForms v#.#\CSharp\MasterDetailSimple\MasterDetailCS.csproj

    VB.NET: Xceed Samples\Xceed Grid for WinForms v#.#\Visual Basic .NET\MasterDetailSimple\MasterDetailVB.vbproj