Problem with these solutions and the print htmlt able solution is that
it is only good for very simple excel sheets that do not need to have
multiple pages or formulas in them.
There are commercial ASP.NET solutions for this, and I belive, if you have office
installed on the server you can (at least you could in classic ASP) instatiate
an Excel.Application object and operate on it.
I would guess you need to wrap the com object to be able to do that in .NET
PL.
"Venkat_KL" <Ve******@discussions.microsoft.com> skrev i meddelandet news:E0**********************************@microsof t.com...
Hi Dear Dica,
is it possible to generate an Exel file showing the results of an sql query
from an ASPX page?
Yes, Ofcourse;
here is the link
VB.Net
=====
HOW TO: Use ASP.NET to Query and Display Database Data in Excel by Using
Visual Basic .NET
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
http://support.microsoft.com/default...b;en-us;308247
C#
===
HOW TO: Use ASP.NET to Query and Display Database Data in Excel by Using
Visual C# .NET
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
http://support.microsoft.com/default...b;en-us;311194
For Anything and Everything, Please Let Me Know.
Bye
Venkat_KL