CRowset Class Members

Methods

CRowset Constructor.
Close Releases rows and the current IRowset interface.
AddRefRows Increments the reference count associated with the current row.
ReleaseRows Calls IRowset::ReleaseRows to release the current row handle.
Compare Compares two bookmarks using IRowsetLocate::Compare.
IsSameRow Compares the specified row with the current row.
MovePrev Moves to the previous record.
MoveNext Fetches data from the next sequential row or a specified number of positions beyond the next row.
MoveFirst Repositions the next-fetch location to the initial position.
MoveLast Moves to the last record.
MoveToBookmark Fetches the row marked by a bookmark or the row at a specified offset from that bookmark.
GetDataHere Gets data from the specified buffer.
Insert Creates and inserts a new row using IRowsetChange:InsertRow.
Delete Deletes rows from the row set using IRowsetChange:DeleteRows.
GetData Retrieves data from the rowset's copy of the row.
GetOriginalData Gets the data most-recently fetched from or transmitted to the data source, ignoring pending changes.
SetData Sets data values in one or more columns of a row using IRowsetChange:SetData.
GetRowStatus Returns the status of all rows.
Undo Undoes any changes made to a row since the last fetch or Update.
Update Transmits any changes made to a row since the last fetch or Update.
GetApproximatePosition Returns the approximate position of a row corresponding to a bookmark.
MoveToRatio Fetches rows starting from a fractional position in the rowset.

Data Members

m_pRowset Points to an OLE DB IRowset.

CRowset Overview