Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to give a user the option of importing Excel and a
delimited text file into a SQL Server Database without
manually using SQL DTS?

Answer Posted / guest

You can use the DTS object model to programmatically create,
modify and run DTS packages.
You can do this many ways, but essentially this object model
has objects for anything you can do in DTS.
If you already have the package created and saved as a file,
add a reference to the DTS Library.
Then you can call it like this:

Dim Package As New DTS.Package

Package.LoadFromStorageFile App.Path "\DTSPackage.dts"
Package.Execute

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define the one-to-one relationship while designing tables.

903


How do I install sql server?

890


What is the security model used in sql server 2005?

1010


Write a SQL query in order to merge two different columns into single column?

1036


Explain the dbcc pintable command when would you use it?

920


Why should you use or avoid select * statements?

1030


What are the two modes of authentication in sql server?

1069


How to get the definition of a user defined function back?

1044


What are drillthrough reports?

155


How to manipulate data from one table to another table ?

969


How to find table changes in sql server?

1120


What are different types of roles provided by ssrs?

150


Explain in details security in SQL azure?

121


What part does database design plays a role in performance of an sql server-based application?

983


What do you understand by triggers?

922