asp to aspx conversion problem

J

John

Hi

I have used the wizard provided on www.asp.net to convert an asp app to
aspx. Now I am getting the Type 'xxx' is not defined error on the following;

Dim rs As ADODB.Recordset
Dim conn As ADODB.Connection
Dim Flds As ADODB.Fields

How can I fix this?

Thanks

Regards
 
K

Karl Seguin

Drop the conversion app and learn ASP.NET.

I'm not trying to be rude, but if you have code that looks like that, why
not just keep it in ASP?

There's no situation where using a conversion tool will be beneficial. If
your app is small, it shouldn't take very long to convert it. If it's big, a
conversion tool will fail miserably and you'll end up with a huge
unmaintainable mess.


Karl
 
J

John

Hi Karl

Its an average size app and there is a lot of repetitive sort of code. I
figure if I can get answer to this question a lot of stuff would be fixed
easily.

Thanks

Regards
 
M

Mark Rae

Its an average size app and there is a lot of repetitive sort of code. I
figure if I can get answer to this question a lot of stuff would be fixed
easily.

Karl is absolutely right - the conversion wizard is worse than useless, and
will only end up causing you much more problems than it solves...

ADO has been superseded by ADO.NET - don't even think of trying to use ADO
in ASP.NET...

Buy yourself a decent introduction to ASP.NET or go on a beginners'
course...
 

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,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top