export Html table to excel file

export Html table to excel file

am 15.01.2008 23:06:18 von Shailesh Patel

Hi,
How do I export Html table to excel file?

Thank you in advance.

Shailesh

Re: export Html table to excel file

am 15.01.2008 23:08:50 von xyz_john

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" wrote in message
news:eZw42H8VIHA.5508@TK2MSFTNGP04.phx.gbl...
> Hi,
> How do I export Html table to excel file?
>
> Thank you in advance.
>
> Shailesh
>

Re: export Html table to excel file

am 15.01.2008 23:54:15 von David Wier

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" wrote in message
news:eZw42H8VIHA.5508@TK2MSFTNGP04.phx.gbl...
> Hi,
> How do I export Html table to excel file?
>
> Thank you in advance.
>
> Shailesh
>

Re: export Html table to excel file

am 16.01.2008 08:52:03 von Steve

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" wrote in message
news:eZw42H8VIHA.5508@TK2MSFTNGP04.phx.gbl...
> Hi,
> How do I export Html table to excel file?
>
> Thank you in advance.
>
> Shailesh
>