[]
Gets or sets a value containing the custom report code.
[Browsable(false)]
public string Script { get; set; }
Type | Description |
---|---|
string | A string value that represents the script. |
var sectionReport = new GrapeCity.ActiveReports.SectionReport();
sectionReport.LoadLayout(reportFilePath);
sectionReport.Document.Printer.PrinterName = String.Empty;
sectionReport.AddAssembly(System.Reflection.Assembly.Load("System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"));
sectionReport.Script =
@"public void Detail_Format()
{
System.Windows.Forms.MessageBox.Show(""Details"", ""Title"");
}";