The difference between Eval and Bind is that Eval function is used to bind data to control inside a DataBound control, but it cannot update the values back to the database.
On the other hand, Bind function can be used to bind data to control inside a DataBound control and also it can update the values back to the database.
But the above explanation did not give me clear idea and hence I wrote two examples in order to illustrate the functioning Eval and Bind functions in ASP.Net.
There are basically two difference in between them...
Eval() is Unidirectional where as Bind() is Bi-Directional.
Eval()can combine more than two filed where as Bind() cannot do this Operation.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
The difference between Eval and Bind is that Eval function is used to bind data to control inside a DataBound control, but it cannot update the values back to the database.
On the other hand, Bind function can be used to bind data to control inside a DataBound control and also it can update the values back to the database.
But the above explanation did not give me clear idea and hence I wrote two examples in order to illustrate the functioning Eval and Bind functions in ASP.Net.
There are basically two difference in between them...
Eval() is Unidirectional where as Bind() is Bi-Directional.
Eval() can combine more than two filed where as Bind() cannot do this Operation.