GrapeCity.ActiveReports.v8 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