dbTalk Databases Forums  

dts.package and excel import and export

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


Discuss dts.package and excel import and export in the microsoft.public.sqlserver.dts forum.



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

Default dts.package and excel import and export - 10-22-2004 , 10:34 AM






I have a site where user register Club and team related to the club.
My solution is to send the user a excel spreedsheet with the right
ClubId and the right TeamId. The user register some info (playername,
playerpicture) and send it back to me and then I will push excelinfo
into a SQLServer. The site is build in ASP.Net with C#. Is this
possible and can anyone give me a hint for a solution.

Stefan Ljungstedt

Reply With Quote
  #2  
Old   
dwh2200
 
Posts: n/a

Default RE: dts.package and excel import and export - 10-22-2004 , 03:27 PM






It's doable. If you use ASP.Net to build your excel file, you can also use
it to update an INI file that holds the name of the file created by each
user. You can feed that INI value into a global variable in DTS designer.
Then it's a simple pull from excel into a sql table using the dynamically
built physical file path for the spreadsheet. It's been a while since I've
done it. I know this method is a bit outdated, but it works well. You might
want to see what you can get away with using XML instead of INI files.


"Stefan" wrote:

Quote:
I have a site where user register Club and team related to the club.
My solution is to send the user a excel spreedsheet with the right
ClubId and the right TeamId. The user register some info (playername,
playerpicture) and send it back to me and then I will push excelinfo
into a SQLServer. The site is build in ASP.Net with C#. Is this
possible and can anyone give me a hint for a solution.

Stefan Ljungstedt


Reply With Quote
  #3  
Old   
Stefan Ljungstedt
 
Posts: n/a

Default RE: dts.package and excel import and export - 10-25-2004 , 03:05 AM



Yes I want to see what it looks like to use XML instead.

"dwh2200" wrote:

Quote:
It's doable. If you use ASP.Net to build your excel file, you can also use
it to update an INI file that holds the name of the file created by each
user. You can feed that INI value into a global variable in DTS designer.
Then it's a simple pull from excel into a sql table using the dynamically
built physical file path for the spreadsheet. It's been a while since I've
done it. I know this method is a bit outdated, but it works well. You might
want to see what you can get away with using XML instead of INI files.


"Stefan" wrote:

I have a site where user register Club and team related to the club.
My solution is to send the user a excel spreedsheet with the right
ClubId and the right TeamId. The user register some info (playername,
playerpicture) and send it back to me and then I will push excelinfo
into a SQLServer. The site is build in ASP.Net with C#. Is this
possible and can anyone give me a hint for a solution.

Stefan Ljungstedt


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.