# GrapeCity.ActiveReports.SectionReport.DataSourceChanged

## Content

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




<h1 id="GrapeCity_ActiveReports_SectionReport_DataSourceChanged" data-uid="GrapeCity.ActiveReports.SectionReport.DataSourceChanged" class="text-break">DataSourceChanged Event
</h1>
<div class="markdown level0 summary"><p>Occurs when the DataMember or DataSource properties have changed.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.html">GrapeCity.ActiveReports</a></h6>
<h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
<h5 id="GrapeCity_ActiveReports_SectionReport_DataSourceChanged_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public event EventHandler DataSourceChanged</code></pre>
</div>
<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.eventhandler">EventHandler</a></td>
      <td>Occurs when the DataMember or DataSource properties have changed.</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_SectionReport_DataSourceChanged_examples"><strong>Examples</strong></h5>
<pre><code class="lang-csharp">var sectionReport = new GrapeCity.ActiveReports.SectionReport();
sectionReport.Document.Printer.PrinterName = String.Empty;
sectionReport.DataSourceChanged += (sender, e) =&gt;	label.Text = rpt.DataMember;</code></pre>

</div>
