ActiveReports6 Assembly > DataDynamics.ActiveReports Namespace > ActiveReport Class : AddScriptReference Method |
private void runReport() { ActiveReport1 rpt = new ActiveReport1(); rpt.AddScriptReference("System.Data"); rpt.Run(); this.viewer1.Document = rpt.Document; }
Private Sub runReport() Dim rpt As New ActiveReport1() rpt.AddScriptReference("System.Data") rpt.Run() Me.viewer1.Document = rpt.Document End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2