Create Excel on the Server
This code example demonstrates how to create excel documents on your server. Using the US state info db, after reading the contents of the db instead of writing output to the browser, html text is written to the server with the .xls file extension. A link to the new document is created (in the browser) for easy navigation to the new document. The current time (server time) is also displayed to show that the excel document was created dynamically.
Visit publisher site: Create Excel on the ServerListing Details
- Filed in:
-
Scripts / ASP / Tutorials & Tips / Excel & ASP
- Submitted on:
- Last Updated:
- Feb 11, 2009
- Publisher:
- Other listings by this publisher
License & Pricing Information
User Reviews
Add/Edit Your ReviewDisplaying 1-1 out of 1 reviews
-
The connection string in this example is outdated. Should be: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("dbname.mdb"). Once I did that, the rest flowed well. Good script and I use it currently. Chris