ChartDirector 7.1 (.NET Edition)

DBTable.getCol


Usage

[C#]public double[] getCol(int i);
[VB]Public Function getCol(i As Integer) As Double()

Description

Gets the requested column of the table as an array of numbers.

If the column is actually of type System.DateTime, it will be converted to a number using ChartDirector's date/time representation. The array can then be used directly in ChartDirector APIs.

This method will throw an InvalidCastException if any datum in the column cannot be converted to a number.

Arguments

ArgumentDefaultDescription
i(Mandatory)The column number. The first column is 0. The nth column is (n - 1).

Return Value

An array of double precision numbers representing the column.