inline ULONG CRBase::FindColOrdinal(LPCOLESTR strColName, bool bCaseSensitive=true);

Return Value

        A value indicating the ordinal of a column.

Parameters

        [in] strColName:

                A unicode string indicating a column name.

        [in] bCaseSensitive:

                A boolean value to determine how to find a column ordinal.

Remark

        Searches a column ordinal according to a column name and a value bCaseSensitive. If a column ordinal is not found, the returned value will be zero. If a user wants to get a column data according to a column name, the user must call this function to get a column ordinal first, and use the ordinal to get its column data. 

CRBase Class Overview & Class Members