[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.SectionReport.DataInitialize

DataInitialize Event

Occurs after the ReportStart event.

Namespace: GrapeCity.ActiveReports
Assembly: MESCIUS.ActiveReports.dll
Syntax
public event EventHandler DataInitialize
Returns
Type Description
EventHandler Occurs after the ReportStart event.
Remarks

Permit the addition of custom fields to the field collection of the report.

Examples
var sectionReport = new GrapeCity.ActiveReports.SectionReport();
sectionReport.Document.Printer.PrinterName = String.Empty;
var field = new GrapeCity.ActiveReports.Data.Field();
field.Name = "CategoryName";
sectionReport.DataInitialize += (sender, e) =>  
	sectionReport.Fields.Add(field);