Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use old DLL in ASP.NEt

Status
Not open for further replies.

vBean

Programmer
Jun 13, 2003
12
US
(new to .NET)

I want to use an old DLL I wrote (in VB) in an ASP.NET page. Basically the DLL takes an SQL SELECT statement, executes it against a database and returns a Recordset back.

First of all is all I need to do is add a reference to the dll in my ASP.NET?

And how do I handle the Recordset? Havent Recordsets been done away with?

Any suggestions are appreciated...
 
You can add a reference to your old DLL and to ADO to your project. I would recommend once you receive the ADO recordset from the DLL that you convert it to an ADO.Net data table. I'm not sure if there are any easy controls/methods to do this, but worse case senerio you should be able to loop through the recordset and populate the datatable one row at a time.

-Rick

----------------------
[banghead]If you're about to post an ASP.Net question,
please don't do it in the VB.Net forum[banghead]

[monkey] I believe in killer coding ninja monkeys.[monkey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top