ODAC

TDALoader.PutColumnData Method

Puts the value of individual columns by the column index.

Class

TDALoader

Syntax

procedure PutColumnData(Col: integer; Row: integer; const Value: variant); overload; virtual;

Parameters
Col
Holds the index of a loading column. The first column has index 0.
Row
Holds the number of loading row. Row starts from 1.
Value
Holds the column value.

Remarks

Call the PutColumnData method to put the value of individual columns. PutColumnData can be only called from the OnPutData event handler. The Col parameter indicates the index of loading column. The first column has index 0. The Row parameter indicates the number of the loading row. Row starts from 1.

This overloaded method works faster because it searches the right index by its index, not by the index name.

The value of a column should be assigned to the Value parameter.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback