Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at COLUMN_ENTRY.
Represents a binding on the rowset to the specific column in the rowset.
Syntax
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:
Between the BEGIN_COLUMN_MAP and END_COLUMN_MAP macros.
Between the BEGIN_ACCESSOR and END_ACCESSOR macros.
Between the BEGIN_PARAM_MAP and END_PARAM_MAP macros.
Example
See the examples in the macro topics, BEGIN_COLUMN_MAP and BEGIN_ACCESSOR_MAP.
Requirements
Header: atldbcli.h
See Also
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