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
Solved

Example Crystal Reports from within a ASP.NET Application

Posted on 2006-11-08
4
472 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
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

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.…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

856 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