System.Web.UI.PageTheme.Eval Method

Uses the DataBinder.Eval(object, string, string) method of the PageTheme.Page property that the instance of the System.Web.UI.PageTheme class is associated with to evaluate a data-binding expression.

Syntax

protected string Eval (string expression, string format)

Parameters

expression
The navigation path from the container to the public property value. For details, see System.Web.UI.DataBinder.
format
A .NET Framework format string. For details, see System.Web.UI.DataBinder.

Returns

A string that results from the evaluation of the data-binding expression and conversion to a string type.

Remarks

The erload:System.Web.UI.PageTheme.Eval method uses the Page.GetDataItem method to resolve the data item container.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0