void CDataScanView::GetKeyWord()
{
_RecordsetPtr pRs;
_ConnectionPtr p_pConnection; static char sQuery[1024];
sprintf(sQuery,"SELECT fkeyword,ffeecode FROM tbl_wydx_ywdm where (FSTATUS = 'Y'));
}
{
_RecordsetPtr pRs;
_ConnectionPtr p_pConnection; static char sQuery[1024];
sprintf(sQuery,"SELECT fkeyword,ffeecode FROM tbl_wydx_ywdm where (FSTATUS = 'Y'));
}
int nRecordSetCount;
nRecordSetCount = pRs->RecordCount;
for(int i = 0;i<nRecordSetCount;i++)
{
bstr[i] = pRs->GetFields()->GetItem("字段名")->Value;
}