We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with streams

Thread ID:





94867 Jun 7,2010 12:35 PM UTC Jun 11,2010 11:53 AM UTC ASP.NET Web Forms (Classic) 1
Tags: XlsIO
Benjamin ROBIC
Asked On June 7, 2010 12:35 PM UTC


I need your good advices :)

Actually, i'd like to see my Pivot Table, created thanks to a Table in a xls file, in a browser. I saw that i have to use the stream but when i use the snippet code u give, i encouter an error :(

Here is my code:

MemoryStream stream = new MemoryStream();
HttpContext.Current.Response.ContentType = "application/vnd.ms-excel";
HttpContext.Current.Response.AddHeader("content-disposition", @"inline; filename=c:\pouetttt.xlsx");

The problem is that the execution crash at the line workbook.SaveAs... I have tested all the override of the method SaveAs that use stream but impossible to go further ..

Do you why ?

Thanks a lot!

Lokesh R [Syncfusion]
Replied On June 11, 2010 11:53 AM UTC

Hi Benjamin,

Thank you very much for your interest on Syncfusion products.

We are very sorry for the delay caused in getting back to you. Could you please update us with the code snippet you have tried to create the pivot table and also your current Essential studio version which will be very helpful for finding out the actual cause of the issue.

Please, let us know if you have any queries.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon