# GrapeCity.ActiveReports.PageReportModel.ConnectionProperties.DataProvider

## Content

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



<h1 id="GrapeCity_ActiveReports_PageReportModel_ConnectionProperties_DataProvider_" data-uid="GrapeCity.ActiveReports.PageReportModel.ConnectionProperties.DataProvider*">DataProvider Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_ConnectionProperties_DataProvider_" data-uid="GrapeCity.ActiveReports.PageReportModel.ConnectionProperties.DataProvider*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_ConnectionProperties_DataProvider" data-uid="GrapeCity.ActiveReports.PageReportModel.ConnectionProperties.DataProvider">DataProvider</h4>
<div class="markdown level1 summary"><p>Gets or sets the type of the data source.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string DataProvider { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</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.string">string</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value indicating the type of the data source.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_ConnectionProperties_DataProvider_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The DataProvider value determines the syntax used for the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ConnectionProperties.ConnectString.html#GrapeCity_ActiveReports_PageReportModel_ConnectionProperties_ConnectString">ConnectString</a> 
and <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Query.CommandText.html#GrapeCity_ActiveReports_PageReportModel_Query_CommandText">CommandText</a> properties.</p>
    <p>The table below contains the set of data source extensions available by default. 
Custom extensions can be created but RDL consumers take caution when loading reports 
containing unknown or unsupported extensions.</p>
    <table><thead><tr><th class="term">Extension</th><th class="description">Description</th></tr></thead><tbody><tr><td class="term">SQL</td><td class="description">
Microsoft SQL Server
</td></tr><tr><td class="term">OLEDB</td><td class="description">Microsoft OLE DB Provider
</td></tr><tr><td class="term"> ODBC</td><td class="description">Microsoft Open Database Connectivity Driver
</td></tr></tbody></table>
</div>
<h5 id="GrapeCity_ActiveReports_PageReportModel_ConnectionProperties_DataProvider_examples">Examples</h5>
<pre><code class="lang-csharp">var connectionProperties = new ConnectionProperties();
connectionProperties.DataProvider = "SQL";</code></pre>

</div>
