| || |
RecordSet not filled with Command.Execute - c#
I'm working with QC10 and C#. I use OTAClient.dll, Version 10.0.0.2257. When I execute the following sql, I always get null for the recordset. Do you have any idea why?
<font class="small">Code:</font><hr /><pre>
TDAPIOLELib.Command myCommand = conn.Command as TDAPIOLELib.Command;
myCommand.CommandText = @"select req.rq_req_id from req";
TDAPIOLELib.RecordsetClass recSet = myCommand.Execute() as TDAPIOLELib.RecordsetClass;
Re: RecordSet not filled with Command.Execute - c#
It's me again.
I found the bug:
I have to use Recordset instead of RecordsetClass