# GrapeCity.ActiveReports.PageReportModel.DataRegion.NoRows

## Content

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



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



<a id="GrapeCity_ActiveReports_PageReportModel_DataRegion_NoRows_" data-uid="GrapeCity.ActiveReports.PageReportModel.DataRegion.NoRows*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_DataRegion_NoRows" data-uid="GrapeCity.ActiveReports.PageReportModel.DataRegion.NoRows">NoRows</h4>
<div class="markdown level1 summary"><p>Gets or sets a message to display inside the data region when the region contains no rows.</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="https://learn.microsoft.com/dotnet/api/system.string">string</a> value indicating the message to display when the region contains no rows.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_DataRegion_NoRows_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When the NoRows message is displayed, the style information for the region is applied to the text.</p>
    <p>Data regions inside a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Table.html">Table</a> or <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Matrix.html">Matrix</a> 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.</p>
</div>
<h5 id="GrapeCity_ActiveReports_PageReportModel_DataRegion_NoRows_examples">Examples</h5>
<pre><code class="lang-csharp">dataRegion.NoRows = "No data available";</code></pre>

</div>
