[]
Adds the reference to the specified assembly to load to the scripting runtime context.
public void AddScriptReference(string scriptRef)
Type | Name | Description |
---|---|---|
string | scriptRef | A string value that contains the user script. |
var sectionReport = new GrapeCity.ActiveReports.SectionReport();
sectionReport.Document.Printer.PrinterName = String.Empty;
sectionReport.AddScriptReference("System.Data");
sectionReport.Run();