Click or drag to resize

DataTableExtensionsAsChartTable Method (DataTable, ITypeManager)

Converts given data table into the chart table.

Namespace:  Dynamicweb.Controls.Charts
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
public static DataTable AsChartTable(
	this DataTable table,
	ITypeManager manager
)

Parameters

table
Type: System.DataDataTable
Table to convert.
manager
Type: Dynamicweb.Controls.Charts.ProvidersITypeManager
Type manager used by the newly created table.

Return Value

Type: DataTable
Converted table.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataTable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptiontable or manager is null.
Remarks