dbTalk Databases Forums  

Import excel data into SQL server -- ASP.net and DTS

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Import excel data into SQL server -- ASP.net and DTS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rathtap
 
Posts: n/a

Default Import excel data into SQL server -- ASP.net and DTS - 09-11-2003 , 09:16 AM






Scenario:
1. User brings up ASP.net page.
2. User points to xls file to import.
3. User maps xls columns to database fields. (Some columns may be
omitted. I know which SQL Server table is the destination.)
4. User clicks button to start import.
5. Based on mapping, I dynamically create a Format File and use it to
import the data into SQL Server using a DTS package.
What I thought to be a simple solution has now had me thinking over it
for a few days now. I want to be able to import data from an excel
file that has no named ranges into a holding table from where it is
further inserted into the correct tables after checking for duplicates
etc.
Is this the best way to do it?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.