共用方式為


COLUMN_ENTRY

Represents a binding on the rowset to the specific column in the rowset.

COLUMN_ENTRY(nOrdinal, data )

Parameters

See DBBINDING in the OLE DB Programmer's Reference.

  • nOrdinal
    [in] The column number.

  • data
    [in] The corresponding data member in the user record.

Remarks

The COLUMN_ENTRY macro is used in the following places:

Example

See the examples in the macro topics, BEGIN_COLUMN_MAP and BEGIN_ACCESSOR_MAP.

Requirements

Header: atldbcli.h

See Also

Concepts

Macros and Global Functions for OLE DB Consumer Templates

BEGIN_ACCESSOR

BEGIN_ACCESSOR_MAP

BEGIN_COLUMN_MAP

COLUMN_ENTRY_EX

COLUMN_ENTRY_PS

COLUMN_ENTRY_PS_LENGTH

COLUMN_ENTRY_LENGTH

COLUMN_ENTRY_LENGTH_STATUS

COLUMN_ENTRY_PS_LENGTH_STATUS

COLUMN_ENTRY_STATUS

COLUMN_ENTRY_PS_STATUS

COLUMN_ENTRY_TYPE

COLUMN_ENTRY_TYPE_SIZE

END_ACCESSOR

END_ACCESSOR_MAP

END_COLUMN_MAP