# FarPoint.Web.Spread.SpreadDataSource

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_SpreadDataSource" data-uid="FarPoint.Web.Spread.SpreadDataSource" class="text-break">SpreadDataSource Class
</h1>
  <div class="markdown level0 summary"><p>Represents a range of data in the Spread component that can be bound to other controls.</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="https://learn.microsoft.com/dotnet/api/system.web.ui.control">Control</a></div>
    <div class="level2"><span class="xref">SpreadDataSource</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.iparseraccessor">IParserAccessor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.iurlresolutionservice">IUrlResolutionService</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.idatabindingsaccessor">IDataBindingsAccessor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.icontrolbuilderaccessor">IControlBuilderAccessor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.icontroldesigneraccessor">IControlDesignerAccessor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.iexpressionsaccessor">IExpressionsAccessor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.idatasource">IDataSource</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.html">FarPoint.Web.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_SpreadDataSource_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ToolboxBitmap(typeof(SpreadDataSource), &quot;SpreadDataSource.png&quot;)]
public class SpreadDataSource : Control, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IDataSource</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ToolboxBitmap(GetType(SpreadDataSource), &quot;SpreadDataSource.png&quot;)&gt;
Public Class SpreadDataSource
    Inherits Control
    Implements IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IDataSource</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="FarPoint_Web_Spread_SpreadDataSource__ctor" data-uid="FarPoint.Web.Spread.SpreadDataSource.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.SpreadDataSource.-ctor.html#FarPoint_Web_Spread_SpreadDataSource__ctor">SpreadDataSource()</a>
        </td>
        <td class="markdown level1 summary"></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="FarPoint_Web_Spread_SpreadDataSource_CellRange" data-uid="FarPoint.Web.Spread.SpreadDataSource.CellRange">
          <a class="xref" href="FarPoint.Web.Spread.SpreadDataSource.CellRange.html#FarPoint_Web_Spread_SpreadDataSource_CellRange">CellRange</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the range of cells for this data source.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SpreadDataSource_SheetName" data-uid="FarPoint.Web.Spread.SpreadDataSource.SheetName">
          <a class="xref" href="FarPoint.Web.Spread.SpreadDataSource.SheetName.html#FarPoint_Web_Spread_SpreadDataSource_SheetName">SheetName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the sheet associated with this data source.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SpreadDataSource_SheetView" data-uid="FarPoint.Web.Spread.SpreadDataSource.SheetView">
          <a class="xref" href="FarPoint.Web.Spread.SpreadDataSource.SheetView.html#FarPoint_Web_Spread_SpreadDataSource_SheetView">SheetView</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the sheet associated with this data source.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SpreadDataSource_Spread" data-uid="FarPoint.Web.Spread.SpreadDataSource.Spread">
          <a class="xref" href="FarPoint.Web.Spread.SpreadDataSource.Spread.html#FarPoint_Web_Spread_SpreadDataSource_Spread">Spread</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the Spread component associated with this data source.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SpreadDataSource_SpreadID" data-uid="FarPoint.Web.Spread.SpreadDataSource.SpreadID">
          <a class="xref" href="FarPoint.Web.Spread.SpreadDataSource.SpreadID.html#FarPoint_Web_Spread_SpreadDataSource_SpreadID">SpreadID</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the identifier of the Spread component associated with this data source.</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="FarPoint_Web_Spread_SpreadDataSource_Dispose" data-uid="FarPoint.Web.Spread.SpreadDataSource.Dispose">
          <a class="xref" href="FarPoint.Web.Spread.SpreadDataSource.Dispose.html#FarPoint_Web_Spread_SpreadDataSource_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Disposes of resources when done.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SpreadDataSource_GetData" data-uid="FarPoint.Web.Spread.SpreadDataSource.GetData">
          <a class="xref" href="FarPoint.Web.Spread.SpreadDataSource.GetData.html#FarPoint_Web_Spread_SpreadDataSource_GetData">GetData()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the data of this data source.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SpreadDataSource_GetView_System_String_" data-uid="FarPoint.Web.Spread.SpreadDataSource.GetView(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.SpreadDataSource.GetView.html#FarPoint_Web_Spread_SpreadDataSource_GetView_System_String_">GetView(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the named data source view associated with the data source control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SpreadDataSource_GetViewNames" data-uid="FarPoint.Web.Spread.SpreadDataSource.GetViewNames">
          <a class="xref" href="FarPoint.Web.Spread.SpreadDataSource.GetViewNames.html#FarPoint_Web_Spread_SpreadDataSource_GetViewNames">GetViewNames()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the view names.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SpreadDataSource_OnInit_System_EventArgs_" data-uid="FarPoint.Web.Spread.SpreadDataSource.OnInit(System.EventArgs)">
          <a class="xref" href="FarPoint.Web.Spread.SpreadDataSource.OnInit.html#FarPoint_Web_Spread_SpreadDataSource_OnInit_System_EventArgs_">OnInit(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Overrides the base class method.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SpreadDataSource_OnLoad_System_EventArgs_" data-uid="FarPoint.Web.Spread.SpreadDataSource.OnLoad(System.EventArgs)">
          <a class="xref" href="FarPoint.Web.Spread.SpreadDataSource.OnLoad.html#FarPoint_Web_Spread_SpreadDataSource_OnLoad_System_EventArgs_">OnLoad(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the data is loaded; overrides the base class method.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SpreadDataSource_Render_System_Web_UI_HtmlTextWriter_" data-uid="FarPoint.Web.Spread.SpreadDataSource.Render(System.Web.UI.HtmlTextWriter)">
          <a class="xref" href="FarPoint.Web.Spread.SpreadDataSource.Render.html#FarPoint_Web_Spread_SpreadDataSource_Render_System_Web_UI_HtmlTextWriter_">Render(HtmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Renders the HTML; overrides base class method.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Web_Spread_SpreadDataSource_DataSourceChanged" data-uid="FarPoint.Web.Spread.SpreadDataSource.DataSourceChanged">
          <a class="xref" href="FarPoint.Web.Spread.SpreadDataSource.DataSourceChanged.html">DataSourceChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the data source values have been changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
