So what you will need to do is use the DTS object model and Events.
Gert has some cool stuff here
http://www.sqldev.net/dts/ExecutePackageWithEvents.htm
Also check out
http://support.microsoft.com/?kbid=319985
--
--
Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know
"Almaei" <Almaei (AT) discussions (DOT) microsoft.com> wrote
Quote:
Hi
I want handle package errors in my program with C#.NET.
but,
I can call one a package (within SQL Server) from C#.NET (with in my
Application), but I can not handle it's errors.
My packages Import Data from file to table and I built it from
"Import/Export Data Wizard".
(( Excuse me, my English is not good!Help me,please))
Regards, Almaei |