Last post Feb 23, 2011 08:13 PM by lickweed
Feb 18, 2011 10:23 AM|ayyappan.CNN|LINK
I have designed 70 reports (with parameter configured) and keep in seperate folder within my project, i want to display in my reports (in Aspx.net 2010) seperatly without using crystal viewer, is it possible? because it reduces my work load. i displayed
in my vb.net project. now i wants in ASPx.net 2010.
Feb 18, 2011 06:38 PM|sansan|LINK
i want to display in my reports (in Aspx.net 2010) seperatly without using crystal viewer, is it possible?
It is possible if you want to display report in PDF format. You can Load the Report into a ReportDocument Object and you can show the report in pdf form using PDF export option and ExportToMemoryStream. Finally, you need to use Response.BinaryWrite to write
pdf to browser.
Feb 22, 2011 06:35 AM|ayyappan.CNN|LINK
Thanks for your reply.... could you please give us, any examples .....
Feb 23, 2011 08:13 PM|lickweed|LINK
i have a code here that export the file to pdf format
iostream = myCR.ExportToStream(ExportFormatType.PortableDocFormat)
Response.Buffer = True
Response.ContentType = "application/pdf"
where iostream is a memorystream data type
then myCR is a report document
Hope this helps