How to set the datasource in the WinForms GridGroupingControl?
Data source
WinForms GridGroupingControl has DataSource and DataMember properties
that you set to specify its datasource. Refer to the following code examples
for setting DataSource to GridGroupingControl.
//Setting DataSource to GridGroupingControl
this.gridGroupingControl1.DataSource = dt; 'Setting DataSource to GridGroupingControl
Me.gridGroupingControl1.DataSource = dt The
screenshot below illustrates the data source assigned for rows and columns.

Figure 1: DataSource assigned for GridGroupingControl rows and columns.
Samples:
C#: DataSource-C#
VB: DataSource-VB
Reference Link: DataBinding
Note:
You can also set these properties within the Designer.