Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

Example Crystal Reports from within a ASP.NET Application

Posted on 2006-11-08
4
Medium Priority
?
476 Views
Last Modified: 2008-01-09
I have certain number of reports that are developed using Crystal Reports 11..

How can i access these reports from within a webpage.. i mean within my ASP.NET Application... I'm using VS2005 with C# code behind and SQLServer backend

I mean Crystal report developers will design and develop reports and will then post is to a certain forder in the server.. what i want to do is to provide a hyperlink with a report name... so that when this hyperlink is clicked..I want to then open up a report from the given location where these files physically exists..

Any help in this regard will be greatly appreciated!!!!

Thanks,
Collin
0
Comment
Question by:Collindsouza
[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
 
LVL 3

Expert Comment

by:rugu_16
ID: 17900305
hi

you will have to use crystal methods.

using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;

ReportDocument r = new ReportDocument();
r.Load(reportPath);

MemoryStream ms;
// pdf format
ms= (MemoryStream)r.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);

you can use couple of these functions.

Rugved
0
 
LVL 5

Author Comment

by:Collindsouza
ID: 17985963
HI rugu

I found the solution to my problem..

its something like this..

load a Crystal Reports View in a WebPage and then in the page load
Set
CrystalReportViewer1.ReportSource = physical path of the report..

Thanks for your help

Collin
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 18106344
Closed, 500 points refunded.
DarthMod
Community Support Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

647 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