ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Subreport Class / ReportName Property
Example

In This Topic
    ReportName Property (Subreport)
    In This Topic
    Gets or sets the path to the subreport.
    Syntax
    'Declaration
     
    Public Property ReportName As String
    public string ReportName {get; set;}

    Property Value

    A System.String value indicating the full (e.g. "/salesreports/orderdetails") or relative path (e.g. "orderdetails") to the subreport.
    Remarks
    Relative paths are relative to the current application's folder. The value cannot be an empty string.
    Example
    Subreport subreport = new Subreport();
    subreport.ReportName = "/salesreports/orderdetails";
    See Also