ChartDirector 7.1 (.NET Edition)

DBTable


DBTable is a utility class for converting database tables into arrays. It retrieves data using ADO.NET API System.Data.DataTable, System.Data.IDataReader or System.Data.DataView, and allows the columns of the data tables to be retrieved as arrays. The data arrays can be used to generate charts or be manipulated further using the ArrayMath class.

MethodInheritedDescription
DBTable(Self)Creates a DBTable object and fills the data table with data from a System.Data.DataTable, or System.Data.IReader or System.Data.DataView object.
getCol(Self)Gets the requested column of the table as an array of numbers.
getColAsString(Self)Gets the requested column of the table as an array of strings.
getColAsDateTime(Self)Gets the requested column of the table as an array of System.DateTime objects.
getColAsObj(Self)Gets the requested column of the table as an array of .NET Objects.