_variant_t temp;strSql="select jhdh from jjbsjb where jm='"+WellName+"'";temp=m_pConnection->Execute((LPCTSTR)strSql,&RecordsAffected,1) ->GetCollect"jhdh");temp读出为0
_variant_t temp;strSql="select jhdh from jjbsjb where jm='"+WellName+"'";temp=m_pConnection->Execute((LPCTSTR)strSql,&RecordsAffected,1) ->GetCollect("jhdh");temp读出为0
_RecordsetPtr m_pRecordset;
_variant_t vIndex = (long)0;m_pRecordset = m_pConnection->Execute((LPCTSTR)strSql,&RecordsAffected,1)
->GetCollect"jhdh");
if (m_pRecordset->adoEOF)
{
sRet = "";
}
else
{
tmp = m_pRecordset->GetCollect(vIndex);
}
->GetCollect("jhdh");temp读出为0
->GetCollect("jhdh");返回的是m_pRecordset