Gets or sets the data source for the Chart object.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
The data points in a series can be bound to a data source at any time using the property.
To force the chart to bind to the data source, call the method.
The following is a list of objects that you can use as the data source:
Data readers (SQL, OleDB)
All Enumerable objects
SqlCommand / OleDbCommand (DataSource data-binding only)
SqlDataAdapter / OleDbDataAdapter (DataSource data-binding only)
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.