# GrapeCity.Documents.Excel.ITableDataSource

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_ITableDataSource" data-uid="GrapeCity.Documents.Excel.ITableDataSource" class="text-break">ITableDataSource Interface
</h1>
  <div class="markdown level0 summary"><p>Classes that implement this interface can be regarded as <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.datatable">DataTable</a> data sources.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.html">GrapeCity.Documents.Excel</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_ITableDataSource_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ITableDataSource</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ITableDataSource</code></pre>
  </div>
  <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_Documents_Excel_ITableDataSource_GetColumnCount" data-uid="GrapeCity.Documents.Excel.ITableDataSource.GetColumnCount">
          <a class="xref" href="GrapeCity.Documents.Excel.ITableDataSource.GetColumnCount.html#GrapeCity_Documents_Excel_ITableDataSource_GetColumnCount">GetColumnCount()</a>
        </td>
        <td class="markdown level1 summary"><p>Get the column count.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITableDataSource_GetColumnIndex_System_String_" data-uid="GrapeCity.Documents.Excel.ITableDataSource.GetColumnIndex(System.String)">
          <a class="xref" href="GrapeCity.Documents.Excel.ITableDataSource.GetColumnIndex.html#GrapeCity_Documents_Excel_ITableDataSource_GetColumnIndex_System_String_">GetColumnIndex(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Get the column index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITableDataSource_GetColumnName_System_Int32_" data-uid="GrapeCity.Documents.Excel.ITableDataSource.GetColumnName(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Excel.ITableDataSource.GetColumnName.html#GrapeCity_Documents_Excel_ITableDataSource_GetColumnName_System_Int32_">GetColumnName(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Get the column name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITableDataSource_GetRowCount" data-uid="GrapeCity.Documents.Excel.ITableDataSource.GetRowCount">
          <a class="xref" href="GrapeCity.Documents.Excel.ITableDataSource.GetRowCount.html#GrapeCity_Documents_Excel_ITableDataSource_GetRowCount">GetRowCount()</a>
        </td>
        <td class="markdown level1 summary"><p>Get the row count.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ITableDataSource_GetValue_System_Int32_System_Int32_" data-uid="GrapeCity.Documents.Excel.ITableDataSource.GetValue(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Excel.ITableDataSource.GetValue.html#GrapeCity_Documents_Excel_ITableDataSource_GetValue_System_Int32_System_Int32_">GetValue(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Get value from the data source.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
