Skip to main content

SelectQuery.SelectColumn(Table, String) Method

Selects a specified column from a required data table.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.1.dll

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

Declaration

public Column SelectColumn(
    Table table,
    string columnName
)

Parameters

Name Type Description
table Table

A Table to which the obtained column belongs.

columnName String

A String value, specifying the column name.

Returns

Type Description
Column

A Column object.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectColumn(Table, String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also