Click or drag to resize

DataTableExtensionsAsChartTable Method (DataTable)

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
)

Parameters

table
Type: System.DataDataTable
Table to convert.

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 is null.
Remarks