Export (0) Print
Expand All

DataBinder.Eval Method

Uses reflection to parse and evaluate a data-binding expression against an object at run time.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Eval(Object, String) Evaluates data-binding expressions at run time.
Public method Static member Eval(Object, String, String) Evaluates data-binding expressions at run time and formats the result as a string.
Top

Starting in .NET Framework 4.5, you can use model binding to simplify some of the tasks that you had to perform through data-binding in earlier versions. For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Show:
© 2015 Microsoft