请问CRecordset 类的成员函数GetFieldValue()怎么用?
CRecordset angel5(&db);
ff.Open("AQXM.csv",CFile::typeText|CFile::modeCreate|CFile::typeText);
ff.Close();
ff.Open("AQXM.csv",CFile::typeText|CFile::modeWrite|CFile::typeText);
for(i=0;i<fenleimen.GetSize();i++) //对每一个分类
{
for(int j=0;j<fenleimen[i].flxmqk.GetSize();j++) //对每一个类别下的项点
{
CString xiangmu;
xiangmu=fenleimen[i].flxmqk[j].getxiangmubianhao(); //取得项目编号
CString sqlsql6=_T("select Aqxm_ID from AQXM_NAME where XIANGMUID="+xiangmu+"");
CString setkaiguan;
BOOL b_OK =angel5.Open(CRecordset::forwardOnly,sqlsql6);
TRACE("select b_OK = %d\n",b_OK);
TRACE("返回的列数为:%d\n",angel5.GetRowsetSize());
if (angel5.GetRecordCount()>0)
{
angel5.GetFieldValue((float)0,setkaiguan);
}
angel5.Close();
那位给我介绍一下这里GetFieldValue((float)0,setkaiguan)函数的用法以及其参数的意义?深表谢意!