TStatements executes a set of PHP statements and renders the display generated by the statements. The execution happens during rendering stage. You can set the statements via the property Statements. You should also specify the context object by Context property which is used as the object in which the statements is evaluated. If the Context property is not set, the TStatements component itself will be assumed as the context.
Namespace: System.Web.UI.WebControls
Properties
Statements, string
Gets or sets the PHP statements to be executed.
Any display generated by the statements will be inserted at the place of the component.
Context, TComponent, default=$this
Gets or sets the context object used for evaluating the expression.