CString sql;
sql.Format("update ww set bb ='%d'", 2 ); VARIANT RecordsAffected;
try

theApp.con->Execute( LPCSTR(sql), &RecordsAffected, adCmdText );
}
catch( _com_error e )
{
CString temp;
temp.Format("%s",LPCSTR( e.Description () ) );
AfxMessageBox( temp );
return;
}
bb在access中为长整型,但报错为"不正确的变量类型"为何?