asp.net
what is difference between '<#%Eval("ID")%>' and '<#%Bind("ID"%)>'
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Munesh SharmaPosted Dec 26, 2015, 2:02 AM
Rajesh SinghPosted Dec 25, 2015, 10:36 PM
Rajeesh MenothPosted Dec 25, 2015, 12:00 PM
Every one are provided good examples..
Check this reference :
http://stackoverflow.com/questions/1796685/whats-the-difference-between-eval-and-bind-in-asp-net
Gowtham KPosted Dec 25, 2015, 10:51 AM
Raja TPosted Dec 25, 2015, 9:21 AM
EVal is one way binding, Bind is two way
If you bind a value using Eval, it is like a read only. You can only view the data.
If you bind a value using Bind, and if you do some change on the value it will reflect on the database also
you can see similar post here on stack overflow
http://stackoverflow.com/questions/259141/difference-between-bind-and-eval
http://www.aspsnippets.com/Articles/Difference-between-Eval-and-Bind-functions-in-ASPNet.aspx
http://www.totaldotnet.com/sub/difference-between-eval-and-bind-expressions-in-data-bound-controls-like-gridview-and-detailsview
http://stackoverflow.com/questions/1796685/whats-the-difference-between-eval-and-bind-in-asp-net
Ravi PatelPosted Dec 25, 2015, 9:14 AM