473,508 Members | 2,207 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to add DTS (Data Transformation Services) object to .NET project

Hi,

I have a C#.NET project (in a Visual Studio environment). In the
project, I have a dialog to let the user enter some values to be used
as parameters for a DTS package. The idea is that when the user enters
required values and selects the button, "Run DTS Package", the DTS
package should be launched.

Does .NET have any utility for adding / running a DTS package in the
C#.NET project?

Thanks!

-Emily

Dec 31 '06 #1
2 2890
Here are two examples for running DTS packages with C#:

For SQL Server 7.0 and SQL Server 2000:
http://www.sqldev.net/dts/ExecutePackage.htm

For SQL Server 2005:
http://www.codeproject.com/useritems...FromCSharp.asp

Regards,

Plamen Ratchev
http://www.SQLStudio.com
"Fir5tSight" <fi********@yahoo.comwrote in message
news:11*********************@73g2000cwn.googlegrou ps.com...
Hi,

I have a C#.NET project (in a Visual Studio environment). In the
project, I have a dialog to let the user enter some values to be used
as parameters for a DTS package. The idea is that when the user enters
required values and selects the button, "Run DTS Package", the DTS
package should be launched.

Does .NET have any utility for adding / running a DTS package in the
C#.NET project?

Thanks!

-Emily

Dec 31 '06 #2
Hi Plamen,

Thanks for the links! The C# sample code is really helpful.

-Emily

Jan 2 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3404
by: Daniele | last post by:
I have a 40 MB database in excel format. I need to use it in Analysis Services, I imported the data by DTS (Data Transformation Services), everything is working I can see the database, but I can't...
2
3563
by: Lyn Duong | last post by:
hi all, I am trying to create a dts package to transfer data from tables in my sql server 2000 database to a db2 UDB v8.1.4 database. When I use ibm db2 oledb driver for the destination this...
1
4295
by: cfyam | last post by:
How can I transfer Excel data to Sql Server?
1
1565
by: Sean McKaharay | last post by:
Hey All, I am trying to write an app that will transfer data from one SQL Server to another. Here is my situation: I have 2 computers neither one is connected. I have the same database on both...
1
1082
by: Jo Blow | last post by:
Hi folks, I have a client that has a distributed access disaster that I want to move to a central ASP.NET system. I'm new to web services but is it possible to expose the raw database tables...
2
3810
by: Ted | last post by:
In MySQL, I use "LOAD DATA INFILE 'my_path/data_file.txt'" to load data from a plain text file. Of course, the actual statement is a bit more complex once one considers the various options (e.g....
0
1440
by: Yasirf | last post by:
Hello I want to do work on data transformation services that is I want to migrate from one database server to another. Can I do work on it in C# or in Java, if yes then from where I can take the...
5
3897
by: mahesh.nimbalkar | last post by:
When I transform XML, XSLT automatically adds extra attributes to the node which are declared in DTD (default DTD attributes) . I just want XSLT not to add these extra default attributes from DTD....
3
7128
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I have a question for you. I have a .csv file which has many lines of data. Each line has many data fields which are delimited by ",". Now I need to extract part of data from this...
0
7231
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7132
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7063
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5640
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5059
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3211
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.