Visual Basic (Declaration) | |
---|---|
Public Event ReportStart() As EventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public event EventHandler ReportStart() |
C# | Copy Code |
---|---|
private void rptUnbound_ReportStart(object sender, System.EventArgs eArgs) |
Visual Basic | Copy Code |
---|---|
Dim m_cnnString As String |
This event can be used to initialize any objects or variables that are needed while running a report.
Note: Printer values are set after this event is raised. The values that will be applied to the Printer object are in the PageSettings object. ReportStart is the event in which you can modify these values in the PageSettings object before they are applied to the Printer object.