How do I Export to excel on aspx page?

Posted by meltdownmonk on Programmers See other posts from Programmers or by meltdownmonk
Published on 2012-09-07T15:48:08Z Indexed on 2012/09/07 15:49 UTC
Read the original article Hit count: 194

Filed under:
|
|
|

I am trying to take data that I request from an access database and put it into and excel file on the client computer.

I usually use ajax to request a summary of the data I need. It is formatted into an html table.

I need that table to be in an excel format for the user to download.

What I have tried already is to use the vb.net code to open excel and silently save the data to a file, however I realized it's the sever side that opens excel, not the client side, in my locally testing of the code, excel would open on my machine and create the file. When running this on the network, I realized excel isn't on the server, I am not sure if I should just install it, or try and steam the file.

© Programmers or respective owner

Related posts about ASP.NET

Related posts about jQuery