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!
*************************************************
"Mark" <sw****@hotmail.comwrote in message
news:OX**************@TK2MSFTNGP03.phx.gbl...
>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?
--
Best regards
Mark