Solved

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

Posted on 2004-03-25
4
1,567 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
ID: 10688724
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
ID: 10729162
sorry for delaying ur point, but after i tried it out and it work, i'll give u the point, :) .
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

770 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