DataBinder.Eval Method
.NET Framework (current version)
Uses reflection to parse and evaluate a data-binding expression against an object at run time.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Eval(Object, String) | Evaluates data-binding expressions at run time. |
![]() ![]() | Eval(Object, String, String) | Evaluates data-binding expressions at run time and formats the result as a string. |
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:

