Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help for jsp/excel? 1

Status
Not open for further replies.

lodhi

Programmer
Jul 14, 2002
11
PK
Hi All,

i have devloped a web site. now i want when user clicks
a link i want to run excel that should automatically load
a table from SQL Server database. please guide me how can
i do this. like i have to write some macro for reading Database or any thing else.

thanks,

omar lodhi
 
The primary trick to outputing to an excel file is changing the the contentType tag to <%@page contentType=&quot;text/html&quot;%> and using tabs between cells in your output. There is a great example to be found here in this downloadable book:


Enjoy

Nescio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top