Avatar of akoIT
akoIT
 asked on

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

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.
Visual Basic.NETASP.NETCrystal Reports.NET ProgrammingC#

Avatar of undefined
Last Comment
louisfr

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Mike McCracken

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
louisfr

I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck