Solved

Example Crystal Reports from within a ASP.NET Application

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
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.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

707 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