Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Chart.DataBindTable Method (IEnumerable)

.NET Framework 4.6 and 4.5

Automatically creates and binds series data to the specified data table.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public void DataBindTable(
	IEnumerable dataSource
)

Parameters

dataSource
Type: System.Collections.IEnumerable

The data source, which can be any IEnumerable object.

Each column of the table becomes a Y-value for a series, with one series per column.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft