CGXDaoGrid::ConvertValueToString
virtual void ConvertValueToString(ROWCOL nCol, CString& sResult);
nCol
Specifies the column id.
sResult
Reference to a CString to receive the converted value.
Remarks
Called from OnLoadCellStyle to retrieve a string with the value for the CDaoField bound to the specified column. The string will be displayed in the grid.
The default implementation of this method converts all MS Access data types except dbLongBinary and dbGUID. You may override this method if you want to convert the values for these data types too.
Note: It should be possible to convert the value for these special data types also in a subclassed CGXControl class. An example might be a CGXDaoBitmapControl class, where you could convert a dbLongBinary field to a bitmap and display it in the cell.
See Also
CGXBrowserGrid::OnLoadCellStyle CGXControl::Draw