Skip to main content

ColumnInfo.Name Property

Specifies the name by which a data column is referred to in a database schema.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v23.2.dll

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

Declaration

public string Name { get; set; }

Property Value

Type Description
String

A String value, specifying the data column name.

Remarks

Instead of addressing a column by its Name, you can assign it an ColumnInfo.Alias. The alias is used to refer to a column in calculations and summary values within the SELECT statement of a SQL string. By using aliases, it is possible to identify data columns that have similar names.

To learn whether or not a column has been assigned an alias, use the ColumnInfo.HasAlias property.

The ColumnInfo.ActualName property returns the current identifier of a data column (its name or alias).

See Also