[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.SectionReport.AddScriptReference

AddScriptReference Method

AddScriptReference(string)

Adds the reference to the specified assembly to load to the scripting runtime context.

Declaration
public void AddScriptReference(string scriptRef)
Parameters
Type Name Description
string scriptRef

A string value that contains the user script.

Examples
var sectionReport = new GrapeCity.ActiveReports.SectionReport();
sectionReport.Document.Printer.PrinterName = String.Empty;
sectionReport.AddScriptReference("System.Data"); 
sectionReport.Run();