Solved

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

Posted on 2004-03-25
4
1,586 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

737 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