export Html table to excel file
am 15.01.2008 23:06:18 von Shailesh PatelHi,
How do I export Html table to excel file?
Thank you in advance.
Shailesh
Hi,
How do I export Html table to excel file?
Thank you in advance.
Shailesh
Theres an example of exporting gridview table data to excel in the
ExportPageToExcel method here. I think it still works.
http://www.johntimney.com/blog/Listing+And+Formatting+MOSS+S ite+Collections.aspx
Regards
John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"Shailesh Patel"
news:eZw42H8VIHA.5508@TK2MSFTNGP04.phx.gbl...
> Hi,
> How do I export Html table to excel file?
>
> Thank you in advance.
>
> Shailesh
>
Here's another example, using VB.Net
http://www.aspnet101.com/aspnet101/aspnet/codesample.aspx?co de=gvExportExcel
David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
"Shailesh Patel"
news:eZw42H8VIHA.5508@TK2MSFTNGP04.phx.gbl...
> Hi,
> How do I export Html table to excel file?
>
> Thank you in advance.
>
> Shailesh
>
You could simply put it inside the ExportPanel control:
http://SteveOrr.net/articles/ExportPanel.aspx
and here are some other techniques you might consider:
http://SteveOrr.net/articles/ExcelExport.aspx
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
http://iPhonePlaza.net
"Shailesh Patel"
news:eZw42H8VIHA.5508@TK2MSFTNGP04.phx.gbl...
> Hi,
> How do I export Html table to excel file?
>
> Thank you in advance.
>
> Shailesh
>