# GrapeCity.ActiveReports.Rdl.Tools.ExpressionInfoExtensions.ReplaceRowNumber

## Content

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



<h1 id="GrapeCity_ActiveReports_Rdl_Tools_ExpressionInfoExtensions_ReplaceRowNumber_" data-uid="GrapeCity.ActiveReports.Rdl.Tools.ExpressionInfoExtensions.ReplaceRowNumber*">ReplaceRowNumber Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rdl_Tools_ExpressionInfoExtensions_ReplaceRowNumber_" data-uid="GrapeCity.ActiveReports.Rdl.Tools.ExpressionInfoExtensions.ReplaceRowNumber*"></a>
<h4 id="GrapeCity_ActiveReports_Rdl_Tools_ExpressionInfoExtensions_ReplaceRowNumber_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_System_Int32_" data-uid="GrapeCity.ActiveReports.Rdl.Tools.ExpressionInfoExtensions.ReplaceRowNumber(GrapeCity.Enterprise.Data.Expressions.ExpressionInfo,System.Int32)">ReplaceRowNumber(ExpressionInfo, int)</h4>
<div class="markdown level1 summary"><p>Replaces 'RowNumber' function with the specified calculated row number.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static ExpressionInfo ReplaceRowNumber(ExpressionInfo expression, int rowNumber)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</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><span class="parametername">expression</span></td>
      <td><p>An <a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> object to process.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowNumber</span></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a> value indicating the row number value to insert.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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 modified <a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> object.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
