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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ravi PatelRank #439 · 5.7K reputationPosted Dec 25, 2015, 4:14 AM EST
Raja TRank #685 · 3.5K reputationPosted Dec 25, 2015, 4:21 AM EST
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
Gowtham KRank #65 · 26.5K reputationPosted Dec 25, 2015, 5:51 AM EST
Rajeesh MenothRank #118 · 18.4K reputationPosted Dec 25, 2015, 7:00 AM EST
Every one are provided good examples..
Check this reference :
http://stackoverflow.com/questions/1796685/whats-the-difference-between-eval-and-bind-in-asp-net
Rajesh SinghRank #1,806 · 824 reputationPosted Dec 25, 2015, 5:36 PM EST
Munesh SharmaRank #174 · 13.9K reputationPosted Dec 25, 2015, 9:02 PM EST