GrapeCity.ActiveReports.v9 Assembly > GrapeCity.ActiveReports Namespace > SectionReport Class : AddScriptReference Method |
'Declaration Public Sub AddScriptReference( _ ByVal scriptRef As System.String _ )
public void AddScriptReference( System.string scriptRef )
private void runReport() { SectionReport1 rpt = new SectionReport1(); rpt.AddScriptReference("System.Data"); rpt.Run(); this.viewer1.Document = rpt.Document; }
Private Sub runReport() Dim rpt As New SectionReport1() 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