# GrapeCity.ActiveReports.PageReportModel.DefaultValue.DataSetReference

## Content

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



<h1 id="GrapeCity_ActiveReports_PageReportModel_DefaultValue_DataSetReference_" data-uid="GrapeCity.ActiveReports.PageReportModel.DefaultValue.DataSetReference*">DataSetReference Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_DefaultValue_DataSetReference_" data-uid="GrapeCity.ActiveReports.PageReportModel.DefaultValue.DataSetReference*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_DefaultValue_DataSetReference" data-uid="GrapeCity.ActiveReports.PageReportModel.DefaultValue.DataSetReference">DataSetReference</h4>
<div class="markdown level1 summary"><p>Gets or sets the query to execute to obtain the default value(s) for the parameter.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DataSetReference DataSetReference { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</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="GrapeCity.ActiveReports.PageReportModel.DataSetReference.html">DataSetReference</a></td>
      <td><p>A <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.DataSetReference.html">DataSetReference</a> object representing the query to execute to obtain the default value(s) for the parameter.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_DefaultValue_DataSetReference_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If this property is set, the query specified by the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.DefaultValue.DataSetReference.html#GrapeCity_ActiveReports_PageReportModel_DefaultValue_DataSetReference">DataSetReference</a> is executed to obtain the default value(s).
If this property is not set, the first value of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.DataSetReference.ValueField.html#GrapeCity_ActiveReports_PageReportModel_DataSetReference_ValueField">ValueField</a> is used as the default value.</p>
</div>
</div>
