# GrapeCity.ActiveReports.Data.OleDBDataSource

## Content

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



  <h1 id="GrapeCity_ActiveReports_Data_OleDBDataSource" data-uid="GrapeCity.ActiveReports.Data.OleDBDataSource" class="text-break">OleDBDataSource Class
</h1>
  <div class="markdown level0 summary"><p>Ole DB data source - allows to connect through Ole DB driver.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="GrapeCity.ActiveReports.Data.DbDataSource.html">DbDataSource</a></div>
    <div class="level2"><span class="xref">OleDBDataSource</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.Data.IDbConnectionProperties.html">IDbConnectionProperties</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Data.html">GrapeCity.ActiveReports.Data</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Data_OleDBDataSource_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof())]
public sealed class OleDBDataSource : DbDataSource, IDbConnectionProperties</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_OleDBDataSource__ctor" data-uid="GrapeCity.ActiveReports.Data.OleDBDataSource.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Data.OleDBDataSource.-ctor.html#GrapeCity_ActiveReports_Data_OleDBDataSource__ctor">OleDBDataSource()</a>
        </td>
        <td class="markdown level1 summary"><p>Default ctor. By default, connection string and command text are empty strings,
and command timeout is DefaultTimeout</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_OleDBDataSource__ctor_System_String_System_String_System_Int32_" data-uid="GrapeCity.ActiveReports.Data.OleDBDataSource.#ctor(System.String,System.String,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.OleDBDataSource.-ctor.html#GrapeCity_ActiveReports_Data_OleDBDataSource__ctor_System_String_System_String_System_Int32_">OleDBDataSource(string, string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Data.OleDBDataSource.html">OleDBDataSource</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_OleDBDataSource_ProviderName" data-uid="GrapeCity.ActiveReports.Data.OleDBDataSource.ProviderName">
          <a class="xref" href="GrapeCity.ActiveReports.Data.OleDBDataSource.ProviderName.html#GrapeCity_ActiveReports_Data_OleDBDataSource_ProviderName">ProviderName</a>
        </td>
        <td class="markdown level1 summary"><p>Returns provider's invariant name</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_OleDBDataSource_OnConnectionStringChanging_System_String_" data-uid="GrapeCity.ActiveReports.Data.OleDBDataSource.OnConnectionStringChanging(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.OleDBDataSource.OnConnectionStringChanging.html#GrapeCity_ActiveReports_Data_OleDBDataSource_OnConnectionStringChanging_System_String_">OnConnectionStringChanging(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Allows to edit the connection string when its current value is about to change.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Data_OleDBDataSource_SetCredentials_System_String_System_String_" data-uid="GrapeCity.ActiveReports.Data.OleDBDataSource.SetCredentials(System.String,System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Data.OleDBDataSource.SetCredentials.html#GrapeCity_ActiveReports_Data_OleDBDataSource_SetCredentials_System_String_System_String_">SetCredentials(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets credentials.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ApplyDefaults.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ApplyDefaults__1___0_">ObjectExtensions.ApplyDefaults&lt;TObject&gt;(TObject)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.SetValue.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_SetValue__1___0_System_ComponentModel_PropertyDescriptor_System_String_">ObjectExtensions.SetValue&lt;TObject&gt;(TObject, PropertyDescriptor, string)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ToNameValueCollection.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ToNameValueCollection_System_Object_">ObjectExtensions.ToNameValueCollection(object)</a>
  </div>

</div>
