# GrapeCity.ActiveReports.SectionReport.ReportStart

## Content

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




<h1 id="GrapeCity_ActiveReports_SectionReport_ReportStart" data-uid="GrapeCity.ActiveReports.SectionReport.ReportStart" class="text-break">ReportStart Event
</h1>
<div class="markdown level0 summary"><p>Occurs at the start of report processing.</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_ReportStart_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event EventHandler ReportStart</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 at the start of report processing.</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_SectionReport_ReportStart_examples"><strong>Examples</strong></h5>
<pre><code class="lang-csharp">var sectionReport = new GrapeCity.ActiveReports.SectionReport();
sectionReport.Document.Printer.PrinterName = String.Empty;
sectionReport.ReportStart += (sender, e) =&gt;
{
	using(connection = new OleDbConnection(m_cnnString)
	{
		var command = new System.Data.OleDb.OleDbCommand(sql, connection);
		command.Connection.Open();
		_reader = command.ExecuteReader();
	}
};</code></pre>

</div>
