|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
dynamic export to excel from web
hi there,
this is my first time really using DTS packages and am trying to export some data to an excel file through a jsp page. This isn't my main problem tho... the main problem is that i've coded the activeX script to dynamically name the file, as well as add the column headings in the excel file. The problem arises when I go to the data transform task and in the Destination tab, I can't select the worksheet that my code apparently creates. Naturally it won't run because it will return me an error saying that the destination doesn't exist. Any thoughts? Thanks in advance. |
|
#2
|
|||
|
|||
|
sounds like the same think in asp is <%Response.ContentType = "application/vnd.ms-excel"%> to export a recordset to excel, maybe try something similar?
good luck. |
|
#3
|
||||
|
||||
|
You can read http://www.databasejournal.com/feat...cle.php/2225481 this should solve your problem.
How do you run it from jsp? Stored procedure? Did you know that you can dynamically create an Excel file from java with Jakarta POI?
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) Understanding SQL Joins An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > dynamic export to excel from web |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|