# GrapeCity.Spreadsheet.IDataManager

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_IDataManager" data-uid="GrapeCity.Spreadsheet.IDataManager" class="text-break">IDataManager Interface
</h1>
  <div class="markdown level0 summary"><p>Represents the data manager of a worksheet.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.html">GrapeCity.Spreadsheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_IDataManager_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IDataManager</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IDataManager</code></pre>
  </div>
  <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_Spreadsheet_IDataManager_AutoGenerateColumns" data-uid="GrapeCity.Spreadsheet.IDataManager.AutoGenerateColumns">
          <a class="xref" href="GrapeCity.Spreadsheet.IDataManager.AutoGenerateColumns.html#GrapeCity_Spreadsheet_IDataManager_AutoGenerateColumns">AutoGenerateColumns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to generate the columns automatically based on the data source.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IDataManager_DataAllowAddNew" data-uid="GrapeCity.Spreadsheet.IDataManager.DataAllowAddNew">
          <a class="xref" href="GrapeCity.Spreadsheet.IDataManager.DataAllowAddNew.html#GrapeCity_Spreadsheet_IDataManager_DataAllowAddNew">DataAllowAddNew</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to allow the user to add a new row when the worksheet is bound.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IDataManager_DataSource" data-uid="GrapeCity.Spreadsheet.IDataManager.DataSource">
          <a class="xref" href="GrapeCity.Spreadsheet.IDataManager.DataSource.html#GrapeCity_Spreadsheet_IDataManager_DataSource">DataSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the 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="GrapeCity_Spreadsheet_IDataManager_AddRowToDataSource_System_Int32_System_Boolean_" data-uid="GrapeCity.Spreadsheet.IDataManager.AddRowToDataSource(System.Int32,System.Boolean)">
          <a class="xref" href="GrapeCity.Spreadsheet.IDataManager.AddRowToDataSource.html#GrapeCity_Spreadsheet_IDataManager_AddRowToDataSource_System_Int32_System_Boolean_">AddRowToDataSource(int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the unbound row to the data source for a sheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IDataManager_AddUnboundRows_System_Int32_System_Int32_" data-uid="GrapeCity.Spreadsheet.IDataManager.AddUnboundRows(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IDataManager.AddUnboundRows.html#GrapeCity_Spreadsheet_IDataManager_AddUnboundRows_System_Int32_System_Int32_">AddUnboundRows(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds unbound rows for a sheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IDataManager_GetColumnIndex_System_String_" data-uid="GrapeCity.Spreadsheet.IDataManager.GetColumnIndex(System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.IDataManager.GetColumnIndex.html#GrapeCity_Spreadsheet_IDataManager_GetColumnIndex_System_String_">GetColumnIndex(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the column specified by name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IDataManager_GetDataColumnName_System_Int32_" data-uid="GrapeCity.Spreadsheet.IDataManager.GetDataColumnName(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IDataManager.GetDataColumnName.html#GrapeCity_Spreadsheet_IDataManager_GetDataColumnName_System_Int32_">GetDataColumnName(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the column name at the specified position.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IDataManager_IsRowBound_System_Int32_" data-uid="GrapeCity.Spreadsheet.IDataManager.IsRowBound(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IDataManager.IsRowBound.html#GrapeCity_Spreadsheet_IDataManager_IsRowBound_System_Int32_">IsRowBound(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the row is bound.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IDataManager_SetModelDataColumn_System_Int32_System_String_" data-uid="GrapeCity.Spreadsheet.IDataManager.SetModelDataColumn(System.Int32,System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.IDataManager.SetModelDataColumn.html#GrapeCity_Spreadsheet_IDataManager_SetModelDataColumn_System_Int32_System_String_">SetModelDataColumn(int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Binds a model column to a specified data source column.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
