# C1.DataConnector.AdoNet.C1CommandBase.DataReader

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_DataConnector_AdoNet_C1CommandBase_DataReader" data-uid="C1.DataConnector.AdoNet.C1CommandBase.DataReader" class="text-break">DataReader Field
</h1>
<div class="markdown level0 summary"><p>A reference to the instance of the <a class="xref" href="C1.DataConnector.AdoNet.C1DataReader.html">C1DataReader</a> that is currently using this command.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="C1.DataConnector.AdoNet.html">C1.DataConnector.AdoNet</a></h6>
<h6><strong>Assembly</strong>: C1.AdoNet.CSV.dll</h6>
<h5 id="C1_DataConnector_AdoNet_C1CommandBase_DataReader_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected C1DataReader DataReader</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected DataReader As C1DataReader</code></pre>
</div>
<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="C1.DataConnector.AdoNet.C1DataReader.html">C1DataReader</a></td>
      <td>A reference to the instance of the  that is currently using this command.</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_DataConnector_AdoNet_C1CommandBase_DataReader_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>While a command is executing a query, having returned an open <a class="xref" href="C1.DataConnector.AdoNet.C1DataReader.html">C1DataReader</a>, this command cannot execute another
query before the current <a class="xref" href="C1.DataConnector.AdoNet.C1DataReader.html">C1DataReader</a>gets closed.</p>
</div>
</div>
