Exception | Description |
---|---|
System.ComponentModel.LicenseException | Thrown if a component cannot be licensed. |
ReportException | Thrown if something is wrong with the report structure. |
private void Form1_Load(object sender, System.EventArgs e) { SectionReport1 rpt = new SectionReport1(); rpt.Run(); viewer1.LoadDocument(rpt.Document); }
Private Sub Form1_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