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

In This Topic
    NoRows Property (DataRegion)
    In This Topic
    Gets or sets a message to display inside the data region when the region contains no rows.
    Syntax
    'Declaration
     
    Public Property NoRows As ExpressionInfo
    public ExpressionInfo NoRows {get; set;}

    Property Value

    A System.String value indicating the message to display when the region contains no rows.
    Remarks

    When the NoRows message is displayed, the style information for the region is applied to the text.

    Data regions inside a Table or Matrix cell that do not have a NoRows property value set display no content when there is no data, but the region's border and background properties are still applied to the cell.

    Example
    dataRegion.NoRows = "No data available";
    See Also