Skip to Content
0
Former Member
Apr 23, 2009 at 02:26 PM

Where are my Report Classes (C# classes corresponding to my RPTs)?

207 Views

In almost all samples I downloaded from BO, there is one ".cs" file that corresponds to an ".rpt" file. This c# file has an autogenerated header. and there are two classes in it. One with identical name to the report and one with the same name but "Cached" in front of it. For instance:

public class Customer : ReportClass {

...

[System.Drawing.ToolboxBitmapAttribute(typeof

(CrystalDecisions.Shared.ExportOptions), "report.bmp")]

public class CachedCustomer : Component, ICachedReport

...

When I add a CrystalReports report to my asp.net project, i just get an ".rpt" file.

What are the ramifications of not having these classes? Does the 'cached" class help with me performance?

thanks

jeff