Chart.DataBindTable Method (IEnumerable)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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


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
Available since 4.0
Return to top