Re: COM Interoperability - Object type to Dataset
From: Martin Dechev (detcheff__at_hotmail.com)
Date: 02/18/04
- Next message: Marty U: "Re: String to equation"
- Previous message: Bob Howard: "Menu style toolbar using WebControls"
- In reply to: Prasad: "COM Interoperability - Object type to Dataset"
- Next in thread: prasad: "Re: COM Interoperability - Object type to Dataset"
- Reply: prasad: "Re: COM Interoperability - Object type to Dataset"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 18 Feb 2004 16:49:08 +0100
Hi, Prasad,
The recommendation is the following:
The .OLE DB .NET Data Provider includes overloads to the
OleDbDataAdapter.Fill method which take as input an ADO Recordset or Record
object returned by existing COM components, and populate a DataSet with the
data contained in the ADO object.
http://msdn.microsoft.com/library/en-us/dnsql2k/html/sql_adonetprimer.asp
Greetings
Martin
"Prasad" <anonymous@discussions.microsoft.com> wrote in message
news:67965B12-6CC6-4E78-9770-FB1797E4878F@microsoft.com...
> Hi,
>
> I have a legacy DLL, that has functions which accept and return type
"Variant".
> I want to use that DLL in .NET. I am able to use functions well that
return variants but that return common data types like string, int etc.
>
> There is one function that has a return type variant, but actually returns
a recordset.
> the return type of variant in .NET is treated as Syste.Object.
>
> I am unable to type cast the Object(actually a recordset) to dataset.
>
> Any ideas on this?
>
> Thanks
> Prasad
- Next message: Marty U: "Re: String to equation"
- Previous message: Bob Howard: "Menu style toolbar using WebControls"
- In reply to: Prasad: "COM Interoperability - Object type to Dataset"
- Next in thread: prasad: "Re: COM Interoperability - Object type to Dataset"
- Reply: prasad: "Re: COM Interoperability - Object type to Dataset"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|