# GrapeCity.ActiveReports.ParamQuery.Build

## Content

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



<h1 id="GrapeCity_ActiveReports_ParamQuery_Build_" data-uid="GrapeCity.ActiveReports.ParamQuery.Build*">Build Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_ParamQuery_Build_" data-uid="GrapeCity.ActiveReports.ParamQuery.Build*"></a>
<h4 id="GrapeCity_ActiveReports_ParamQuery_Build_GrapeCity_ActiveReports_SectionReport_System_String_System_Boolean_" data-uid="GrapeCity.ActiveReports.ParamQuery.Build(GrapeCity.ActiveReports.SectionReport,System.String,System.Boolean)">Build(SectionReport, string, bool)</h4>
<div class="markdown level1 summary"><p>Builds the parameter query.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static string Build(SectionReport report, string sql, bool bDesignTime)</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.ActiveReports.SectionReport.html">SectionReport</a></td>
      <td><span class="parametername">report</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">sql</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">bDesignTime</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</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></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_ParamQuery_Build_" data-uid="GrapeCity.ActiveReports.ParamQuery.Build*"></a>
<h4 id="GrapeCity_ActiveReports_ParamQuery_Build_GrapeCity_ActiveReports_SectionReport_GrapeCity_ActiveReports_SectionReportModel_ParameterCollection_System_String_System_Boolean_" data-uid="GrapeCity.ActiveReports.ParamQuery.Build(GrapeCity.ActiveReports.SectionReport,GrapeCity.ActiveReports.SectionReportModel.ParameterCollection,System.String,System.Boolean)">Build(SectionReport, ParameterCollection, string, bool)</h4>
<div class="markdown level1 summary"><p>Thiis one handles only the chart parameters</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static string Build(SectionReport report, ParameterCollection chartParameters, string sql, bool bDesignTime)</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.ActiveReports.SectionReport.html">SectionReport</a></td>
      <td><span class="parametername">report</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ParameterCollection.html">ParameterCollection</a></td>
      <td><span class="parametername">chartParameters</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">sql</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">bDesignTime</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</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></td>
    </tr>
  </tbody>
</table>
</div>
