Problem using SQL Server DTS in a Web Form

G

Guest

Hi;

Could anyone tell me how to get this code to compile in Visual Studio 2005
code behind ASP.net 2.0 Web Page ?

It compiles fine as a windows module in vs 2005.

Here are the lines which don't compile:

Dim oPackage As New DTS.Package2Class
Dim oStep As DTS.Step

I tried including the following :
Imports Microsoft.SqlServer.Dts.Runtime.Wrapper
Imports System.Runtime.InteropServices

but I can't find the appropriate objects in these.

Thanks for any insights,
 

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,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top