Executes a VBScript statement in the current report context.

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public void Execute(
	string statement
)
Visual Basic
Public Sub Execute ( _
	statement As String _
)

Parameters

statement
Type: System..::..String
A string with VBScript instructions to be executed.

Remarks

This method is similar to the Evaluate(String) method, except it does not return a value.

If the expression string contains invalid syntax or causes an evaluation error, the control raises the ReportError event. In this case, the Handled parameter of the event is set to true, so the exception is ignored by default.

See Also