VecColumn Class

Source: Controls/DBTools.cs · Assembly: Dew.Math.Controls
MarshalByValueComponentVecColumn

public class VecColumn : MarshalByValueComponent

Provides connection between table column and TVec object.

By connecting VecColumn to a specific data table column you can load values from numeric field or byte[] field to Vector, or save values from Vector to numeric or byte[] field.

Properties

NameTypeDescription
ColumnDataColumnReturns data column (if exists, otherwise returns null).
ColumnNameStringDefines the name of column in dataset.
DataTableDataTableDataTable, connected to VecColumn.
ReadWriteModeReadWriteModeDefines how data is saved in DataTable column.
VectorTVecStores the underlying table field numeric or byte[] values.

Methods

NameDescription
ctorConstructor.
ReadDataRow (2)Reads the contents of underlying field and stores it's contents in vector.
WriteDataRowWrites vector to row.

Events

NameDescription
AfterReadDataRowEvent triggered after the Dew.Math.Controls.VecColumn.ReadDataRow method call.