Saving web page as Excel spreadsheet

M

Mark

I have a web page with a GridView that displays data from a SqlDataSource
component.

I need to allow the user to click a button and have this data delivered to
them in a .xls file that they can save to their local machine.

Is the a way to do this with .NET or will I need a third party component?
 
C

Cowboy \(Gregory A. Beamer\)

There are a couple of ways.

1. Change MIME type to Excel and display
2. Use a third party library like ExcelWriter

It depends on how much funcationality of Excel you need.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top