Gets or sets the name of the report (used with the Load method).

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

Remarks

This property identifies the report when it is saved in a report definition file.

To retrieve a report from a report definition file, use the Load(String, String) method and pass this name as a parameter.

Examples

The following code retrieves the "Employees" report from the report definition file:

Copy CodeVisual Basic
' load report from XML file
c1r.Load(DataFileName, "Employees")
' show report name
Console.WriteLine(c1r.ReportName)
Copy CodeC#
// load report from XML file
c1r.Load(DataFileName, "Employees");
// show report name
Console.WriteLine(c1r.ReportName);

See Also