B
Mon Jun 27 07:08:52 CDT 2005
Cor,
Thanks, but I have already looked at that approach. The problem with that
Fill method is that the method takes a "managed" Recordset. In other words,
I need to add a reference to the ADO COM component so a interop wrapper is
created, ADODB. I can then pass an ADODB::RecordsetClass object into the
Fill. My problem is that I'm in C++ and want to call a method in an
existing library that knows nothing about .Net and is returning a
_Recordset* object. In that case, I haven't figured out a way to make the
_Recordset* object become an ADODB::RecordsetClass object so I can call the
Fill method you refer to.
- Brad
"Cor Ligthert" <notmyfirstname@planet.nl> wrote in message
news:uAUTmBWeFHA.2244@TK2MSFTNGP15.phx.gbl...
> B. Salmon,
>
> There is an overloaded fill to make from a recordset a dataset. Be aware
> that AFAIK this is all you can do with it.
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdataoledboledbdataadapterclassfilltopic1.asp
>
> I hope this helps,
>
> Cor
>