Monday, 16 November 2015

Difference Between Eval and Bind in Asp.Net

The Eval function is used to define one-way (read-only) binding.
The Bind function is used for two-way (updatable or read/write) binding.
In addition to calling Eval and Bind methods to perform data binding in a data-binding expression, you can call any publicly scoped code within the <%# and %> delimiters to execute that code and return a value during page processing.

No comments:

Post a Comment