Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 5th, 2007, 11:56 PM
Authorized User
 
Join Date: Jun 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Export HTML to Excel

Hi,

I have a first.aspx page that has a iframe,the iframe's source is a HTML that is generated dynamically using XSLT transformations. The HTML page basically holds a table.

I want to export this table to a excel, on click of a button in the first.aspx page.

Initially i was trying to render the table to excel using Response.ContentType = "application/vnd.ms-excel";.

but i can't get the source of the iframe.

Can anyone please help?

Thanks for the help.

:)

 
Old December 18th, 2007, 04:15 AM
Registered User
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hello. I'look your's question .My see you question,and I's already untie,this is here have sound code. Your see message ,send Email:[email protected]

 
Old December 19th, 2007, 06:19 AM
Registered User
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hnjin2005
Default

I don't kown U mean,I am a poor man of C#!
  I want to friend some programer!
   send E-mail :[email protected]
  I am chinese!

 
Old December 19th, 2007, 08:48 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

If the two frames are pointing at different domains, or using different protocols (http vs https for example) then you won't be able to access one from the other. Otherwise it should be possible but show the relevant code.

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Export Recordset as an HTML file EMB PHP How-To 0 August 16th, 2007 01:28 PM
Pdf to html conversion and export the checked para lohith ASP.NET 2.0 Professional 0 July 3rd, 2007 12:09 AM
Export to Excel pramesh_it ASP.NET 1.0 and 1.1 Basics 1 April 4th, 2006 09:04 AM
Export HTML graph to Excel Jorge Classic ASP Basics 8 February 10th, 2005 01:54 PM
how can I export a report to HTML ? jewbask Classic ASP Basics 2 July 3rd, 2004 06:52 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.