Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to execute DTS package without storing it in local [modified]

How to execute DTS package without storing it in local [modified]

Scheduled Pinned Locked Moved C#
helptutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NK7
    wrote on last edited by
    #1

    Hi Right now i am stroing dts package in local and executing it. The code what i have written is Dataset ds=new Dataset(); Package package=GeneratePackage(); //Generate package is a my function Application app=new Application(); app.SavetoXML("path",package,null); DtsConnection dtsCon=new DtsConnection(); dtsCon.ConnectionString=package.GetPackagePath(); dtsCon.Open(); DtsCommand dtsComm=new DtsCommand(dtsCon); dtsComm.CommandText="DataReaderDest"; IDataReader reader=dtsComm.ExecuteReader(CommandBehaviour.Default); ds.Load(reader,LoadOption.OverwriteChanges,reader.GetScehmaTable().TableName); return ds; It is working fine. I would like to execute the package without storing it in local using dtscommand. Can anybody help me please. kesavan -- modified at 3:20 Thursday 24th May, 2007

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups