Skip to main content

SelectQuery.SelectColumn(Table, String, String) Method

Obtains a specified column from a 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,
    string alias
)

Parameters

Name Type Description
table Table

A Table to which the obtained column belongs.

columnName String

A String value, specifying the column name.

alias String

A String value, specifying the column alias (displayed name).

Returns

Type Description
Column

A Column object.

See Also