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

In This Topic
    NoRows Property (Subreport)
    In This Topic
    Gets or sets a message to display in the subreport if no rows of data are available.
    Syntax
    'Declaration
     
    Public Property NoRows As ExpressionInfo
    public ExpressionInfo NoRows {get; set;}

    Property Value

    A GrapeCity.Enterprise.Data.Expressions.ExpressionInfo object representing the message to display when no rows of data are available in the subreport.
    Remarks

    Style information for this text is derived from the subreport.

    If the subreport is within a table or matrix cell without a NoRows property, the cell's border properties still apply even if the subreport's contents are omitted.

    Example
    Subreport subreport = new Subreport();
    subreport.NoRows = "No data available";
    See Also