# C1.Report.DataSource.DataProvider

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Report_DataSource_DataProvider_" data-uid="C1.Report.DataSource.DataProvider*">DataProvider Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Report_DataSource_DataProvider_" data-uid="C1.Report.DataSource.DataProvider*"></a>
<h4 id="C1_Report_DataSource_DataProvider" data-uid="C1.Report.DataSource.DataProvider">DataProvider</h4>
<div class="markdown level1 summary"><p>Gets or sets the type of the data source.
The data source type determines the syntaxes of connection string and query (record source).
The default is Auto but it is recommended that you set this value to the specific type of the data source you are using,
as automatic determining of the data source type may be rather slow.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
[C1Category(&quot;Data&quot;)]
[C1Description(&quot;DataSource.DataProvider&quot;, &quot;The data source type. Auto is not recommended as it usually causes connecting to the data source to take longer.&quot;)]
public DataProvider DataProvider { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
&lt;C1Category(&quot;Data&quot;)&gt;
&lt;C1Description(&quot;DataSource.DataProvider&quot;, &quot;The data source type. Auto is not recommended as it usually causes connecting to the data source to take longer.&quot;)&gt;
Public Property DataProvider As DataProvider</code></pre>
</div>
</div>
