CGXAdoGrid::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 ADOField 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 dbGUID.
You may override this method if you want to convert the values for these data types, too.
Note:
It should also be possible to convert the values for these special data types in a subclassed CGXControl class. An example could be a CGXDaoBitmapControl class, where you could convert an adLongVarBinary field to a bitmap.
See Also
CGXBrowserGrid::OnLoadCellStyle CGXControl::Draw