# GrapeCity.ActiveReports.Data.IListDataSource.GetValue

## Content

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



<h1 id="GrapeCity_ActiveReports_Data_IListDataSource_GetValue_" data-uid="GrapeCity.ActiveReports.Data.IListDataSource.GetValue*">GetValue Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Data_IListDataSource_GetValue_" data-uid="GrapeCity.ActiveReports.Data.IListDataSource.GetValue*"></a>
<h4 id="GrapeCity_ActiveReports_Data_IListDataSource_GetValue_System_String_System_Int32_" data-uid="GrapeCity.ActiveReports.Data.IListDataSource.GetValue(System.String,System.Int32)">GetValue(string, int)</h4>
<div class="markdown level1 summary"><p>Access to value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">object GetValue(string fieldName, int ordinal)</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fieldName</span></td>
      <td><p>Field name. Nested names separated with by '.' symbol.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">ordinal</span></td>
      <td><p>Value from <a class="xref" href="GrapeCity.ActiveReports.Data.IListDataSource.GetOrdinal.html#GrapeCity_ActiveReports_Data_IListDataSource_GetOrdinal_System_String_">GetOrdinal(string)</a>.</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="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
