![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'd like to set up a button in a VB.net web application which, when clicked, will run a DTS package to import data from an Excel file into an SQL Server database. I've created the DTS package using the Wizard and chose to save it as a Visual Basic file. This leaves me with a .bas file but I'm not sure how to call it from my web application. Does anyone know how this is done? Thanks SK. ************************************************** ******************** Sent via Fuzzy Software @ http://www.fuzzysoftware.com/ Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources... |
#3
| |||
| |||
|
|
Forget doing it that way. Save the package either to SQL Server or to a Structure Storage file. You can then use code from here to fire it. http://www.sqldev.net/dts/DotNETCookBook.htm -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.Konesans.com "Simon Keating" <simon.keating (AT) pembrokeshire (DOT) gov.uk> wrote in message news:%23TSBAgfqEHA.348 (AT) TK2MSFTNGP15 (DOT) phx.gbl... Hi, I'd like to set up a button in a VB.net web application which, when clicked, will run a DTS package to import data from an Excel file into an SQL Server database. I've created the DTS package using the Wizard and chose to save it as a Visual Basic file. This leaves me with a .bas file but I'm not sure how to call it from my web application. Does anyone know how this is done? Thanks SK. ************************************************** ******************** Sent via Fuzzy Software @ http://www.fuzzysoftware.com/ Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources... |
![]() |
| Thread Tools | |
| Display Modes | |
| |