Progress® Telerik® Reporting R2 2017

DataColumnCollectionAdd Method

Creates a DataColumn with specific settings and adds it to the DataColumnCollection.

Namespace:  Telerik.Reporting
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)

Syntax

public DataColumn Add(
	string name,
	SimpleType columnType
)

Parameters

name
Type: SystemString
A String value that will be used as Name for the newly created DataColumn.
columnType
Type: Telerik.ReportingSimpleType
A SimpleType constant will be used for the newly created DataColumn.

Return Value

Type: DataColumn
The newly created and added DataColumn

See Also