473,668 Members | 2,373 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 2897
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********@yah oo.comwrote in message
news:11******** *************@7 3g2000cwn.googl egroups.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
3409
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 load it in the analysis services. I have to construct a cube but I can't see the database in any way I tried. Thank you I hope my message is quite clear Hope to find somebody that can answer me in Italian, but English is good
2
3578
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 works fine except that rows are committed on a row by row basis thus performance is slow. I want to use the odbc driver but when I define it as the destination, i get errors saying that the maximum number of rows failed has exceeded the minimum.
1
4305
by: cfyam | last post by:
How can I transfer Excel data to Sql Server?
1
1578
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 computers. I need to update the data at the end of the night to reflect the changes on the particular database. So the data collected on computer1 needs to get to computer2 and the data on computer2 needs to get to computer1.
1
1086
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 (subset off) in a web service that they can link to to query from Excel/access/whatever. The problem is that they don't want to move to web-based as they are worried they won't be able to do ad-hoc querying and reporting. (as they can in MS Access)
2
3818
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. comma delimited vs tab delimited, record termination strings, &c.). My problem is that I have yet to find the equivalent within MS SQL server. I did find a LOAD statement in T-SQL, but at first glance it seems to do something completely...
0
1445
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 initials Thank You
5
3906
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. See refname and shortname attributes are added to node automatically after transformation. Please let me know how to fix this. ...
3
7145
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 file but save it as an excel file. The data in this excel file will be imported into an Access database. The
0
8378
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8577
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8653
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7398
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6206
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4376
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2786
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 we have to send another system
2
2018
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.