|
-
Oct 12th, 2010, 11:36 PM
#1
Thread Starter
Junior Member
without saving the report taking print
hi to all..
i'm trying to print a report without saving the pdf file.. the below code
MemoryStream oStream; // using System.IO
oStream = (MemoryStream)
report.ExportToStream(
CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
Response.Clear();
Response.Buffer= true;
Response.ContentType = "application/pdf";
Response.BinaryWrite(oStream.ToArray());
Response.End();
the above code works good...
but there's one problem i want to pass the parameter to the report how can i do this..
please help me..
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|