Set up a datasource to grouping grid in WinForms GridGroupingControl

15 Jun 20211 minute to read

This page explains how to Set up a datasource to grouping grid in Windows Forms GridGroupingControl and more details.

How to set up a datasource to grouping grid in Windows Forms GridGroupingControl

You can set a datasource to GroupingGrid using the following code.

  • C#
  • //Assigns a datasource to the GroupingGrid.
    
    this.gridGroupingControl1.DataSource = dataTable;
    
    
    
    
    
    
    
    'Assigns a datasource to the GroupingGrid.
    
    Me.gridGroupingControl1.DataSource = dataTable