# GrapeCity.ActiveReports.PageReportModel.Subreport.NoRows

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_PageReportModel_Subreport_NoRows_" data-uid="GrapeCity.ActiveReports.PageReportModel.Subreport.NoRows*">NoRows Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_Subreport_NoRows_" data-uid="GrapeCity.ActiveReports.PageReportModel.Subreport.NoRows*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_Subreport_NoRows" data-uid="GrapeCity.ActiveReports.PageReportModel.Subreport.NoRows">NoRows</h4>
<div class="markdown level1 summary"><p>Gets or sets a message to display in the subreport if no rows of data are available.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ExpressionInfo NoRows { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><p>A <a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> object representing the message to display when no
rows of data are available in the subreport.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_Subreport_NoRows_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Style information for this text is derived from the subreport.</p>
    <p>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.</p>
</div>
<h5 id="GrapeCity_ActiveReports_PageReportModel_Subreport_NoRows_examples">Examples</h5>
<pre><code class="lang-csharp">Subreport subreport = new Subreport();
subreport.NoRows = "No data available";</code></pre>

</div>
