Solved

Export crystal report to PDF With C# (asp.net)

Posted on 2004-03-25
4
1,546 Views
Last Modified: 2008-03-10
How do i export my report if my report have more than 1 dataset ??? (i use subreport)
0
Comment
Question by:ichibang
4 Comments
 

Accepted Solution

by:
OverTheEdge earned 250 total points
Comment Utility
What is the problem that you're having? Exporting a report with a subreport isn't any different than exporting a typical report. The only thing I can imagine you having trouble with is populating the subreport's datasource before doing the export. Luckily, that only takes one line of code.

ReportDocument.OpenSubreport("subreportname").SetDataSource(yourdataset)

    HTH,

    Brian Bischof

    http://www.crystalreportsbook.com/123aspx.asp

    A Crystal Reports.NET tutorial for programmers? Its here!
    * Covers ASP.NET and Windows Forms
    * Teaches all phases of report development
    * Alerts you to the bugs and how to get around them
    * Maps out the complex ReportDocument object model
    * Shows how to perform runtime customization
    * Demonstrates all options of connecting with ADO.NET
    * Gives complete code listings for every concept presented


0
 

Author Comment

by:ichibang
Comment Utility
sorry for delaying ur point, but after i tried it out and it work, i'll give u the point, :) .
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Crystal Reports 8.5 hangs 11 84
Crystal Report Grouping 8 55
Ignore parameter if no value entered 22 34
Business Object Server 2 20
Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

743 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

14 Experts available now in Live!

Get 1:1 Help Now