BCGSuite for MFC
HRESULT CBCGPADOGridCtrl::GetLastError ( ) const
inline

Returns the last error.

Use this function to determine the error that occurred during the last ADO operation.

Returns
The HRESULT value that specifies the last ADO error.