
October 10th, 2004, 11:20 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 23
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
ADODB.Recordset
Hi!
can someone help mi by explaining the purpose of the code given below?not sure if this is related to SQL or C++ though...
_RecordsetPtr pRs(__uuidof(Recordset));
IADORecordBinding *picRs = NULL;
ExerciseRs rs;
hr=pRs->Open(queryString,connectionString,adOpenStatic,adLockOptimistic,adCmdUnknown);
when i execute the program, there's a bug.An error comes out from the exception saying that the source is from ADOBD. Recordset.
The description: Item cannot be found in the collection corresponding to the requested name or ordinal.
I do not understand this.Pls help by explaining this to me or direct me to some help or how i can solve this. Thanks a lot!!
|