poRecordset->Open("SELECT 书号 FROM (书信息 inner join 阅览室 on 书信息.书号= 阅览室.书号) ; ",(IDispatch*)pConnection, adOpenKeyset , adLockOptimistic , adCmdText);
m_datagrid.SetRefDataSource( (LPUNKNOWN) poRecordset ); //执行到这一步就说 rowset is
not bookable
什么意思呢?挺急的,多谢各位了
m_datagrid.SetRefDataSource( (LPUNKNOWN) poRecordset ); //执行到这一步就说 rowset is
not bookable
什么意思呢?挺急的,多谢各位了
poRecordset->Supports(adBook) 都是false
不是说 adOpenKeyset adOpenStatic 是支持的吗?怎么回事呢?
select ×××××from ***,** where ***.1=**.2也不行