Run Method (SectionReport)
Starts the report processing.
Overload | Description |
Run() | Starts the report processing in blocked mode. |
Run(Boolean) | Starts report execution and optionally keeps any linked viewer control document in sync with the report's document. |
private void formReport_Load(object sender, System.EventArgs e)
{
SectionReport1 rpt = new SectionReport1();
rpt.Run();
viewer1.LoadDocument(rpt.Document);
}
Private Sub formReport_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim rpt As New rptMain()
rpt.Run()
Viewer1.LoadDocument(rpt.Document)
End Sub