Skip to main content

SelectQuery.GroupBy(Table, String) Method

Groups a data table by the specified column.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public Group GroupBy(
    Table table,
    string columnName
)

Parameters

Name Type Description
table Table

A Table object.

columnName String

A String value, specifying the column name.

Returns

Type Description
Group

A Group object.

See Also