Articles in this section
Category / Section

How to set the datasource in the WinForms GridGroupingControl?

1 min read

Data source

GridGroupingControl has DataSource and DataMember properties that you set to specify its datasource. Refer to the following code examples for setting DataSource to GridGroupingControl.

C#

//Setting DataSource to GridGroupingControl
this.gridGroupingControl1.DataSource  = dt;

 

VB

'Setting DataSource to GridGroupingControl
Me.gridGroupingControl1.DataSource = dt

 

Datasource assinged for rows and columns in GridGroupingControl

Figure 1: DataSource assigned for GridGroupingControl rows and columns.

Samples:

C#: DataSource-C#

VB: DataSource-VB

Reference link: https://help.syncfusion.com/windowsforms/gridgrouping/data-binding

Note:

You can also set these properties within the Designer.

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied