Ask a Question related to ASP Database, Design and Development.
-
busabus #1
ASP to Excel. Help with getting data into XML
I have an ASP application that uses an Access back end, and basically
I wanted to get the data into an Excel spreadsheet for reporting
purposes. I decided to go down the XML route as that gives me good
formatting options, and allows for multiple workbook pages, and all
the users have Excel 2002. However I'm finding it quite tough.
This guide from Microsoft
[url]http://support.microsoft.com/default.aspx?scid=kb;EN-US;285891[/url]
actually works well and I can understand what's going on, so I've used
it as the basis of my code. However this only deals with a simple set
of records filling a table. My output needs to be a little more
complicated. I'd like to be able to pass several record sets into the
final report rather than using just one very complicated SQL
statement, is this possible? I'd also like to insert a couple of
strings from ASP into the report, how can I do this? And I would like
to cover several workbooks, can I just contain them in a
<xsl:for-each… statement?
If you need more clarification on the problem, or code snippets, then
please just ask
Many Thanks
busabus Guest
-
Export to Excel has no Data
It's a simple Datagrid export to Excel however, when I view the spreadsheet, its empty. Even the file size is zero. What could be causing this? -
Excel Data conversion
Hello, I have to convert the (afaik) Excel (internal) date format into a different format. I am wondering if there is a package around to do so.... -
asp display excel data
I try to find the best small exemple to display data from excel to asp (connection & code). But only asp.net exemples in microsoft.com... Thanks... -
Importing Excel data
On each import FM 5.5 crashes on the last record to import! e.g. dummy.xls contains of 21 records - FM crashes on the last ( 21st ) or takes... -
ADO data into web excel?
Is it possible to write out the contents of a database into an exel-type spreadsheet within an asp page? - Jason -
David Lozzi #2
Re: ASP to Excel. Help with getting data into XML
Stick this at the top of the ASP page:
<% Response.ContentType = "application/vnd.ms-excel" %>
<html>
<body>
<table>
<tr>
<td>
</td>
</tr>
</table>
</body>
</html>
And then format the rest of the page with a table. This tag at the beginning
will translate the page into an Excel Spreadsheet.
--
David Lozzi
Associated Business & Technology Group
[url]www.associatedbtg.com[/url]
I should've known that....but I had a brain fart.
"busabus" <drwhiting@hotmail.com> wrote in message
news:358e222f.0308070547.160d558b@posting.google.c om...> I have an ASP application that uses an Access back end, and basically
> I wanted to get the data into an Excel spreadsheet for reporting
> purposes. I decided to go down the XML route as that gives me good
> formatting options, and allows for multiple workbook pages, and all
> the users have Excel 2002. However I'm finding it quite tough.
>
> This guide from Microsoft
> [url]http://support.microsoft.com/default.aspx?scid=kb;EN-US;285891[/url]
> actually works well and I can understand what's going on, so I've used
> it as the basis of my code. However this only deals with a simple set
> of records filling a table. My output needs to be a little more
> complicated. I'd like to be able to pass several record sets into the
> final report rather than using just one very complicated SQL
> statement, is this possible? I'd also like to insert a couple of
> strings from ASP into the report, how can I do this? And I would like
> to cover several workbooks, can I just contain them in a
> <xsl:for-each. statement?
>
> If you need more clarification on the problem, or code snippets, then
> please just ask
>
> Many Thanks
David Lozzi Guest
-
Daniel Whiting #3
Re: ASP to Excel. Help with getting data into XML
Thanks for that David, it would be quite simply to work the record sets
into html tables, however from my understanding this method doesn't
support multiple worksheets which is required for the reports. If it
does then please correct me and provide the syntax to achieve this.
Thanks
Daniel
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Daniel Whiting Guest



Reply With Quote

