Version

DataBind(DataSet,Int32,String,String) Method

Binds a Data Set with the data points from this series.
Syntax
'Declaration
 
Public Overloads Sub DataBind( _
   ByVal dataSet As DataSet, _
   ByVal tableIndex As Integer, _
   ByVal valueColumn As String, _
   ByVal labelColumn As String _
) 
public void DataBind( 
   DataSet dataSet,
   int tableIndex,
   string valueColumn,
   string labelColumn
)

Parameters

dataSet
The data source containing values used to populate the data points from this series.
tableIndex
The index of a data table from the data set.
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