pearcefleming / excellibrary

Automatically exported from code.google.com/p/excellibrary
0 stars 0 forks source link

Response.Write excel file asp.net #84

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Try to write the excel  to output from aspx

What is the expected output? What do you see instead?
Did not find the method.

What version of the product are you using? On what operating system?
ExcelLibrary_20090331

Please provide any additional information below.
Contact me please to add my code.
I patched as attached.

Original issue reported on code.google.com by regisbsb...@gmail.com on 1 Apr 2011 at 4:34

Attachments:

GoogleCodeExporter commented 8 years ago
Actually there is a solution for your problem. But this is not specific for 
ExcelLib. The problem is with the post and get handling. So if you post for 
Generating you can't get the file in the same action as GET. You will only 
recive the file as a sting in Response.

There's a javascript solution for this....

Plus if you are a good coder there's a solution to write out the file into 
MemoryStream and then send back the data. I changed the source and it's working 
well in ASP.NET MVC3

Original comment by nagy.bal...@gmail.com on 5 Apr 2011 at 1:45

GoogleCodeExporter commented 8 years ago
It's exactly what I modified. I wrote a save to stream method and changed the 
dataset extension. But I want to see the modifications in the source base.
Thanks.

Original comment by regisbsb...@gmail.com on 5 Apr 2011 at 4:22

GoogleCodeExporter commented 8 years ago
Sorry, first i simply missed the attachment. My, my... :) And waching your 
code, it feels like asp coders thinks the same way. Have a good day.

Original comment by nagy.bal...@gmail.com on 6 Apr 2011 at 1:37

GoogleCodeExporter commented 8 years ago
Maybe the project owners add my code? ;)

Original comment by regisbsb...@gmail.com on 6 Apr 2011 at 2:38

GoogleCodeExporter commented 8 years ago
Latest code supports save workbook to stream.

Original comment by China.LiuJunFeng on 14 Apr 2011 at 12:28