I was working on the MSDN tutorial for Crystal Reports, and I got to the point of linking the inline report to the CrystalReportViewer management step:
When I try to build, it tells me that I am missing the using declaration for the Hierarchical_Grouping class. This causes me two questions ...
- What is the namespace for this class definition?
- Is there an easy way to define the namespace of a given class?
In another answer, I saw the sentences "ALT, SHIFT, F10" and "CTRL, [period]" for intellisense, but they do not work in my Visual Studio.
I'm sure I did something ridiculously stupid .... sorry in advance ....
Here is the code for the form:
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using CrystalDecisions.CrystalReports.Engine; using CrystalDecisions.Shared; namespace CrystalTest3 { public partial class Form1 : Form { private Hierarchical_Grouping hierarchicalGroupingReport; public Form1() { InitializeComponent(); } private void ConfigureCrystalReports() { hierarchicalGroupingReport = new Hierarchical_Grouping(); crystalReportViewer.ReportSource = hierarchicalGroupingReport; } private void Form1_Load(object sender, EventArgs e) { ConfigureCrystalReports(); } } }
source share