RecSet = Con->Execute("SELECT * FROM t2",RecordsAffected,1); while(!RecSet->EndOfFile) { cout<<RecSet->Fields->GetItem("Id")->Value.intVal<<"\n"; // Field1 = RecSet->Fields->GetItem("Name")->Value.bstrVal; // char *p= (char *)f1; RecSet->MoveNext(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)