Glossary Item Box
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(); }
See Also |
Concepts: Scripting
Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.