# C1.Report.DataProvider

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Report_DataProvider" data-uid="C1.Report.DataProvider" class="text-break">DataProvider Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the type of the data source.
Different data sources use different connection string and query command syntaxes.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Report.html">C1.Report</a></h6>
  <h6><strong>Assembly</strong>: C1.Report.dll</h6>
  <h5 id="C1_Report_DataProvider_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum DataProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum DataProvider</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Report_DataProvider_Auto">Auto</td>
        <td><p>The data source type is automatically determined base on connection string.
Using this value is not recommended as connecting to the data source may be very slow.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_DataProvider_DbProviderFactory">DbProviderFactory</td>
        <td><p>Specifies to use <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.common.dbproviderfactory">DbProviderFactory</a> data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_DataProvider_ExternalObject">ExternalObject</td>
        <td><p>Specifies that connection string is the name of an assembly that contains objects
which implement the  <a class="xref" href="C1.Report.IC1FlexReportExternalRecordset.html">IC1FlexReportExternalRecordset</a> interface.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_DataProvider_ODBC">ODBC</td>
        <td><p>Specifies an ODBC data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_DataProvider_OLEDB">OLEDB</td>
        <td><p>Specifies an OLE DB data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_DataProvider_SQLite">SQLite</td>
        <td><p>Specifies an SQLite data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_DataProvider_SqlServerCe3_5">SqlServerCe3_5</td>
        <td><p>Specifies an SQL server compact edition version 3.5 data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_DataProvider_SqlServerCe4_0">SqlServerCe4_0</td>
        <td><p>Specifies an SQL server compact edition version 4.0 data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_DataProvider_XmlFile">XmlFile</td>
        <td><p>Specifies that connection string is the name of an XML file containing a DataSet object.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
