Thursday, February 26, 2009

What is difference between in Bind and Eval Methods

We can use Bind or Eval in the below code,
The difference between them is the Bind method allows ASP.NET 2 supports "the two-way data binding" concept. With this method, we can either fetch data and display them in any data-bound control, and submit changes to the data-store. The Eval method is just a "one-way data binding", meaning that we only can read and display the data, but not writing back.

The Bind method can be used whenever Eval is accepted.

Here there is an example and here you can find info about both methods.

Best of Luck.

No comments:

Difference Between Apache Common Logging and Log4J

Dear Folks, Log4j is a logging framework, i.e. it provides the code to log messages while Commons-logging is an abstraction layer for log...