CRecordset rs(db); rs.Open(CRecordset::snapshot,SqlStr,CRecordset::readOnly); CDBVariant ip; //rs.GetFieldValue(ip); int Index; Index=12; rs.GetFieldValue(Index,ip);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)