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 valueXColumn As String, _
   ByVal valueYColumn As String _
) 
public void DataBind( 
   DataSet dataSet,
   int tableIndex,
   string valueXColumn,
   string valueYColumn
)

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.
valueXColumn
A data table column used to populate the data point’s X values.
valueYColumn
A data table column used to populate the data point’s Y values.
Requirements

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