Glossary Item Box

Concepts: Scripting

See Also ActiveReports for .NET 2 Online Help Send feedback to Data Dynamics

Script Class

Create classes inside the script to call methods.

If the script requires method calls, a class can be constructed inside the script.

[Script] public class myFuncs { public myFuncs() { } public string showMyString() { return "This is my string"; } } public void Detail_Format() { myFuncs f = new myFuncs(); ((TextBox)rpt.Sections["Detail"].Controls["TextBox1"]).Text = f.showMyString(); }

Concepts: Scripting

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.