inline ULONG CRBase::GetCols();
Return Value
A value indicating the count of actual columns by its main accessors excluding the bookmark column.
Remark
Gets the count of actual columns by its main accessors. Right after opening a CRBase object, the returned value is the number of columns which a resultant rowset has. However, a user may call CRBase::SetDBPart to discard a column. Under this case, the returned value indicates the actual number of columns managed by its main accessors.