MS SQL Server
  Home arrow MS SQL Server arrow Page 2 - Using Data Transformation Services, part 5...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MS SQL SERVER

Using Data Transformation Services, part 5: Package Execution with ASP.NET
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 13
    2005-06-13

    Table of Contents:
  • Using Data Transformation Services, part 5: Package Execution with ASP.NET
  • Creating the package details of the two connections
  • Part B: Create a Web project
  • Write simple code to execute the package
  • Verify the results

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Using Data Transformation Services, part 5: Package Execution with ASP.NET - Creating the package details of the two connections


    (Page 2 of 5 )

    There are two connections, one to SQL Server 2000 and the other to the Excel worksheet. All that is needed to set up a connection is to drag the connection control from connection collection and drop it in the designer.

    The next two pictures show the two connections. The first one is the Source (Excel Worksheet), and the second is the Destination (SQL 2000 Server).

    Excel Connection

    SQL 2000 Connection

    After adding a transform data task, it is configured as shown. Please refer to previous tutorials for the details. This picture shows the Source tab of the Transform Data Task.

    Transform data task:Source

    The next picture shows the Destination tab of the Transform data Task.

    Transform data task:Source

    The following picture shows the Transformations tab of the Transform Data Task. No fancy transformation is attempted here, as the main focus is executing the package with ASP.NET

    Transformations

    The finished package is as shown in the following picture, saved under the name ExcelPack3. The package can be executed in several ways as discussed in earlier tutorials. One obvious way is to click on menu item Package in the editor, and click on Execute. This action would copy the the Excel spreadsheet to a table in a SQL 2000 Server database.

    The package

    More MS SQL Server Articles
    More By Jayaram Krishnaswamy


     

    MS SQL SERVER ARTICLES

    - Completing the Introduction to Transact-SQL
    - A Brief Introduction to Transact-SQL
    - Lookups and Blocking Bad Data
    - Field Validation Rules for Blocking Bad Data
    - Using Masks to Block Bad Data
    - Blocking Bad Data
    - Using @@ROWCOUNT and TABLE Variables for Dat...
    - How to Use Variables, IF and CASE in Databas...
    - Creating Important Aspects of Notification S...
    - Working wth Variables in Database Interactio...
    - Delving Deeper into Notification Services
    - Notification Services
    - Building a Multi-table Report with SQL 2005 ...
    - A Secure Way of Building Connection Strings
    - Transferring a Database Using the SSIS Desig...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT