Version

DataBind(DataTable,String,String) Method

Binds a Data Table with the data points from this series.
Syntax
'Declaration
 
Public Overloads Sub DataBind( _
   ByVal dataTable As DataTable, _
   ByVal valueColumn As String, _
   ByVal labelColumn As String _
) 
public void DataBind( 
   DataTable dataTable,
   string valueColumn,
   string labelColumn
)

Parameters

dataTable
The data source containing values used to populate the data points from this series.
valueColumn
A data table column used to populate the data point’s values.
labelColumn
A data table column used to populate the data point’s labels.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also