作者:mayz 来源:慧都控件网 浏览:Loading... 日期:2012-09-10
访问变量时,你会用到以下代码:
C#
StiReport report = new StiReport();
report.Load("Variables.mrt");
report.Compile();
//Set Variable
report["VariableName"] = "Value";
//Get Variable
object value = report["VariableName"];
VB
Dim Report As StiReport = New StiReport()
Report.Load("Variables.mrt")
Report.Compile()
'Set Variable
Report("VariableName") = " Value "
'Get Variable
Dim Value As Object= Report("VariableName")
Tag标签:Stimulsoft Stimulsoft Reports