How to add Crystal Reports(Standalone) to my VB.NET project

Answers were Sorted based on User's Feedback



How to add Crystal Reports(Standalone) to my VB.NET project ..

Answer / sachin

Its already inbuilt in visual studio .
so go to solution explorer and add it

Is This Answer Correct ?    19 Yes 4 No

How to add Crystal Reports(Standalone) to my VB.NET project ..

Answer / madhusudhanreddy t

There are 2 versions of crystal reports available

1. standalone reports like Crystal Reports 10,XI,XI R2

2. Crystal Reports which comes with Visual Studio .Net like
Crystal Reports for Visual Studio-Embedded Reports

if want to add reports, then go to Add Existing Item (right
click on the project name in the solution explorer), browse
to the .rpt file and select it or Add New Item an select
Crystal Reports from the Templates.

if you want to display reports, you should use Crystal
Repors Viewer

coding:

private ReportDocument hierarchicalGroupingReport;

protected void Page_Init(object sender,eventargs e)
{
configurecrystalreports();
}
private void configurecrystalreports()
{
hierarchicalGroupingReport=new ReportDocument();
string reportPath=server.mappath("Hierarchical
Grouping.rpt");
hierarchicalGroupingReport.Load(reportPath);
CrystalReportViewer1.ReportSource=hierarchicalGroupingReport
;
}

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Crystal Reports Interview Questions

Reports can be optimized for web viewing using which of the following strategies: a. Using subreports instead of linking tables b. Avoiding maps c. Using the Page N of M special field to help users understand how many pages are in the report d. Saving reports as version 10 e. Avoiding reports with drill-down capabilities

2 Answers  


How to conditionally suppress a field based on whether a page number is odd or even?

3 Answers  


HOW TO USE 5 CRYSTAL REPORT OR SUBREPORT ON DIFFERENT CONDITIONS IN ONE VB PROGRAM

1 Answers  


What are the sections that we have in Crystal reports?

11 Answers  


Where is the image located, after youve placed it on the report?

0 Answers  


Suppose I am not able to see any image on crystal report at run time. So how can I load any image which is saved in local disk so that it can be viewed at runtime in crystal reports?

0 Answers  


Is it possible to export crystal report with linked subreports in one excel sheet?If yes,then how?

4 Answers   IBM,


I had an Interview yesterday for a Crystal Reports Developer position. Some of these I have not done in my reporting experience and I had just a half day's notice for the interview, hence no prep time :-( 1) Is there a way to be able to change an image(company logo) dynamically in a report? Example if you have 100 reports, and with the market uncertainity if you anticipate that the company logo might change, how can you change the image just in one place and have this reflected in all teh reports at run time? 2) What is a SQL expression? 3) What are field expressions and what are the diff types? (I looked this up in the internet and never found anything with regards to types of field expressions) The interviewer really got me confused as I felt he was not clearly setting forth his questions but it could be that I was unable to understand his wording of the questions. I expect a big zero from his feedback but I am hoping this is an experience for future interviews that I face in crystal reports when I do get some more lined up. Thanks in advance! Anita New Jersey, USA.

5 Answers   Barclays,


How to open subreport in new ie window using hyperlink button. I used target=new; in the formula field. But it overrides the main window and show the report?

0 Answers  


hi...to all i want to generate the two crystal reports one is employee and another is project. now i want to display the two reorts in a single crystal report viewer. i've tried using sub-reports but the page header is not avaliable in a sub reports.. so i want to display two separate crystalreports in a single viewer.. can anybody help me.. plz

1 Answers  


Explain reporter footer contents are move depend the page footer values?

0 Answers  


How to "Print" in Crystal Reports while using ASP DOT NET Platform?

3 Answers  


Categories