|
Dynamic Excel Reports with ASP
|
Other links at ASP > Tutorials > Excel and ASP |
| 1. |
Creating Excel Spreadsheets
|
|
|
This article describes using the Office Web Components (OWC) to create an Excel spreadsheet via ASP code based on the results from a database query. All of this complexity is encapsulated in a (rather basic) class.
|
| 2. |
Create Excel from Form Input
|
|
|
ASP form input can be transformed into most any type of format that youd like to see it in. Typically, most form input either gets delivered to a database, like Access or SQL server or the output is sent to an email address or some other application. This example will show you how to take user input and create an excel file of that input on the server. The title that the user inputs will be used to name the document. When utilizing this script on your site please keep in mind that the directory that you execute the .asp code from must have user write authority established on the server.
|
| 3. |
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.
|
| 4. |
Create an Employee Photo Directory with Excel and ASP
|
|
|
This article shows how to use an Excel file as the database for an employee photo directory. As part of the Active Server Pages application it explains how to configure the spreadsheet for online use, create recordsets from the rows of data, and perform queries and navigate using a browser.
|
| 5. |
Create Excel from Form Input
|
|
|
ASP form input can be transformed into most any type of format that youd like to see it in. Typically, most form input either gets delivered to a database, like Access or SQL server or the output is sent to an email address or some other application. This example will show you how to take user input and create an excel file of that input on the server. The title that the user inputs will be used to name the document. When utilizing this script on your site please keep in mind that the directory that you execute the .asp code from must have user write authority established on the server.
|
|
|