# C1.Win.TrueDBGrid.C1TrueDBGrid.Select

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_TrueDBGrid_C1TrueDBGrid_Select_" data-uid="C1.Win.TrueDBGrid.C1TrueDBGrid.Select*">Select Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_TrueDBGrid_C1TrueDBGrid_Select_" data-uid="C1.Win.TrueDBGrid.C1TrueDBGrid.Select*"></a>
<h4 id="C1_Win_TrueDBGrid_C1TrueDBGrid_Select_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_" data-uid="C1.Win.TrueDBGrid.C1TrueDBGrid.Select(System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)">Select(int, int, int, int, bool)</h4>
<div class="markdown level1 summary"><p>Selects a range of cells.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Select(int row, int col, int rowCount, int colCount, bool show)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub [Select](row As Integer, col As Integer, rowCount As Integer, colCount As Integer, show As Boolean)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>New value for the Row property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">col</span></td>
      <td><p>New value for the Col property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowCount</span></td>
      <td><p>The count of selected rows.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">colCount</span></td>
      <td><p>The count of selected columns.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">show</span></td>
      <td><p>Whether to scroll the new selection into view.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
