There is a third party tool called ExcelWriter that allows
you to easily create spreadsheets without having Excel
installed on the server. It is very quick and easy to
use... check it out at
www.softartisans.com.
It is a COM component but they have class wrappers that
allow you to use it in .NET. The latest version lets you
create spreadsheet content by binding a DataSet (previous
versions only support ADO recordset binding - you have to
create the rows manually).
Cheers,
Glenn.
-----Original Message-----
is it possible to export excel directly from ASP.NET to
Excel? My requirement is that the data on the datagrid is
exported to MS Excel file after user clicks the button on
the web page. Excel will be open automatically with
imported data. If so, is need to add any additional
controls or tools?