Here is what I've got so far...for some reason it's not firing off:
<code>
PrivateSub Button1_Click(ByVal senderAs System.Object,ByVal eAs System.EventArgs)Handles Button1.Click
Dim dtsp2AsNew DTS.Package
dtsp2.LoadFromSQLServer("jfgp34", "sa", "@.jfgp#1", DTS.DTSSQLServerStorageFlags.DTSSQLStgFlag_Default, "", "", "", "Test Northwind", "")
dtsp2.Execute()
EndSub
</code>
Any one with ideas helps out alot. Thanks in advance everyone.
RB
Check out the DTS Cookbook for .NET,http://www.sqldev.net/dts/DotNETCookBook.htm|||This approach is more SQL server centric, and less reliant onVB.NET/C#.NET. It's basically a technique for triggering a DTS packagefrom a stored procedure, which can run from your .NET program withoutmuch effort.
http://www.mssqlcity.com/FAQ/Devel/DTSviaQA.htm
With that said, I've only used a similar technique to the one referenced in the previous post.
Jason
|||
Jason,
Thanks for the site. That looks like it is going to do the trick I'll let you know if I need any thing else.
Thanks again.
RB
没有评论:
发表评论