Solved

What is the best report viewer for Crystal Reports in ASP.Net using vb.net/C#

Posted on 2016-08-03
2
63 Views
Last Modified: 2016-08-11
Hello Guys,

Can I have a helping hand for this.,
I have a Crystal Report files that I want to view everytime the user clicks the generate button.

here is my code....

Note that I currently exporting my report file into a PDF file using this...
Dim rptBlank As New Report Document
rptBlank As New report_Sample (Sample_ReportFile.rpt = Crystal Report File)

With rptBlank
                            .ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
                            .ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
                            diskDestination.DiskFileName = TempPath & empDtls(3) & "\" & filName
                            .ExportOptions.ExportDestinationOptions = diskDestination
                            .SetParameterValue("@a", "123")
                            .Export()
End With

' Outputing on my embed tag that the application type is PDF.

   embedPdf.Src = "Sample_Generated_PDF_File.pdf"

But I think There should be a safe way to do it and much faster way.,

Can I have an advice on this?

Thank You in advance.
0
Comment
Question by:akoIT
2 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
Comment Utility
Try looking at these 2 articles by Eric Moreau


 Feeding Crystal Reports from your application
http://www.emoreau.com/Entries/Articles/2006/09/Feeding-Crystal-Reports-from-your-application.aspx

 Crystal Reports – Part II - Exporting
http://www.emoreau.com/Entries/Articles/2006/10/Crystal-Reports--Part-II.aspx

mlmcc
0
 
LVL 11

Expert Comment

by:louisfr
Comment Utility
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now