You can write it to disk or memory stream and then use Excel to open it. Or
flush it to the response buffer and change the content type to excel.
--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
https://www.microsoft.com/MSPress/books/10933.aspx
OWC Black Book www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
"Smith" <a
@as.com> wrote in message
news:eiJTfRxoHHA.5084@TK2MSFTNGP02.phx.gbl...
> Hi
> Is there anyway to export a DataTable to Excel?
> Thanks