Calling from ASP to .NET passing Recordset

J

Johan Lachonius

Hi,

I'm using a "classic" asp-page and a .net-component which I want to call
passing a Recordset as a parameter. I have a reference to ADODB in the .net
component which should supply a COM rapper for a Recordset. In the .net
component code looks like:

using ADODB:

public void MyFunction( Recordset rs )
{
// Doing something
}

In the ASP page I create the component using the usual CreateObject and then
call the function in a normal manner.

The component is registered in the gac and works fine when I'm calling other
functions from the asp-page, even functions returning Recordsets to the
asp-page, but not this function which is the only one where I'm passing a
Recordset to the .net-component.

Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top