Partager via


CRowset Class

Encapsulates an OLE DB rowset object and several related interfaces and provides manipulation methods for rowset data.

template <class TAccessor = CAccessorBase>
class CRowset

Parameters

  • TAccessor
    An accessor class. The default is CAccessorBase.

Remarks

In OLE DB, a rowset is the object through which a program sets and retrieves data.

This class is not meant to be instantiated but rather passed as a template parameter to CTable or CCommand (CRowset is the default).

Requirements

Header: atldbcli.h

See Also

Concepts

DBViewer Sample: Database Browser

MultiRead Sample: Reads Database Table Using Multiple Threads

MultiRead Attributes Sample: Reads Database Table Using Multiple Threads

CRowset Members

OLE DB Consumer Templates (C++)

OLE DB Consumer Templates Reference