[]
Occurs at the start of report processing.
public event EventHandler ReportStart
Type | Description |
---|---|
EventHandler | Occurs at the start of report processing. |
var sectionReport = new GrapeCity.ActiveReports.SectionReport();
sectionReport.Document.Printer.PrinterName = String.Empty;
sectionReport.ReportStart += (sender, e) =>
{
using(connection = new OleDbConnection(m_cnnString)
{
var command = new System.Data.OleDb.OleDbCommand(sql, connection);
command.Connection.Open();
_reader = command.ExecuteReader();
}
};