Version

IncludeColumn(DataColumn,Boolean) Method

This method enables you to include or exclude a column from the list of columns that are charted.
Syntax
'Declaration
 
Public Overloads Sub IncludeColumn( _
   ByVal dataColumn As DataColumn, _
   ByVal include As Boolean _
) 
public void IncludeColumn( 
   DataColumn dataColumn,
   bool include
)

Parameters

dataColumn
The column of a datatable to be included or excluded.
include
True to include the column; False to exclude it from the list.
Remarks

An invalid column is ignored.

If the number of valid columns to chart that are left is too few for the chart type, an invalid data message will appear.

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