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

Can we create report using more than one database?

3 Answers   CSC, Seed Infotech, Target,


Is there any feature like summing total in crystal report?

11 Answers   HCL, Sonata,


How many sections are there in the report

6 Answers  


Where can we find the log file generated when we run a crystal report?

0 Answers  


How can we improve the performance of a crystal report?

0 Answers  






hi.. i've created one crystal report. and one global resource file .. in crystal report there's one text object with id Text1. and i want to take the values of resource file i've got it CrystalDecisions.CrystalReports.Engine.TextObject Dtemp1 = ((CrystalDecisions.CrystalReports.Engine.TextObject)myreport .ReportDefinition.Sections["section1"].ReportObjects["Text1" ]); Dtemp1.Text = Resources.Resource.ResourceManager.GetString("Dsec1"); it is showing the correct value want i want but when i give print it is disappearing.. how to solve this please help me..

0 Answers  


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

3 Answers  


what is the "refresh" button suppose to do on the crystal report viewer?

2 Answers  


Does Crystal Report support all the functions that we have in Oracle?

2 Answers   MPS Techologies, Target,


Are there any limitations in crystal reports?

22 Answers  


How to print two details fields at the bottom of the page

5 Answers  


Suppose I have a crystal report with a linked subreport as well. Is there any way not to print the current record on the main report if no records are returned from the subreport?

0 Answers  


Categories