# GrapeCity.SpreadBuilder.Cells.DDCell.SetValue

## Content

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



<h1 id="GrapeCity_SpreadBuilder_Cells_DDCell_SetValue_" data-uid="GrapeCity.SpreadBuilder.Cells.DDCell.SetValue*">SetValue Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_SpreadBuilder_Cells_DDCell_SetValue_" data-uid="GrapeCity.SpreadBuilder.Cells.DDCell.SetValue*"></a>
<h4 id="GrapeCity_SpreadBuilder_Cells_DDCell_SetValue_System_Double_" data-uid="GrapeCity.SpreadBuilder.Cells.DDCell.SetValue(System.Double)">SetValue(double)</h4>
<div class="markdown level1 summary"><p>Sets the cell type to <code>DDCellType.Number</code> and assigns the specified numeric value to the cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValue(double dblValue)</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.double">double</a></td>
      <td><span class="parametername">dblValue</span></td>
      <td><p>The numeric value to be stored in this cell.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_SpreadBuilder_Cells_DDCell_SetValue_" data-uid="GrapeCity.SpreadBuilder.Cells.DDCell.SetValue*"></a>
<h4 id="GrapeCity_SpreadBuilder_Cells_DDCell_SetValue_System_String_" data-uid="GrapeCity.SpreadBuilder.Cells.DDCell.SetValue(System.String)">SetValue(string)</h4>
<div class="markdown level1 summary"><p>Sets the cell type to <code>DDCellType.Label</code> and assigns the specified string value to the cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValue(string sValue)</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.string">string</a></td>
      <td><span class="parametername">sValue</span></td>
      <td><p>The string value to be stored in this cell.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_SpreadBuilder_Cells_DDCell_SetValue_" data-uid="GrapeCity.SpreadBuilder.Cells.DDCell.SetValue*"></a>
<h4 id="GrapeCity_SpreadBuilder_Cells_DDCell_SetValue_GrapeCity_SpreadBuilder_Cells_BiffCellBoolErrValues_" data-uid="GrapeCity.SpreadBuilder.Cells.DDCell.SetValue(GrapeCity.SpreadBuilder.Cells.BiffCellBoolErrValues)">SetValue(BiffCellBoolErrValues)</h4>
<div class="markdown level1 summary"><p>Sets the cell type to <code>DDCellType.Boolean</code> and assigns the specified string value to the cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetValue(BiffCellBoolErrValues boolerrValue)</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="GrapeCity.SpreadBuilder.Cells.BiffCellBoolErrValues.html">BiffCellBoolErrValues</a></td>
      <td><span class="parametername">boolerrValue</span></td>
      <td><p>The boolean value to be stored in this cell.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
