Compartilhar 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

OLE DB Consumer Templates (C++)

OLE DB Consumer Templates Reference

Other Resources

DBViewer Sample

MultiRead Sample

MultiRead Attributes Sample

CRowset Members