I got the difference between Bind and EVal from here. Bind will do both way reading and writing. And Eval do only reading. So any function only for writing?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Actually no.
However…
Some databound controls, such as the
ListView, support binding in theInsertItemTemplate. The insert item template of theListViewonly writes. Although the binding is only actually used for writing, you still useBind()syntax.On a related note:
For ther data bound controls, such as the
GridView, I’ve had to bootstrap empty dummy data into a row of the data source and tap into theRowDataBoundevent to toggle visibility on my insert and edit command buttons. The read phase of the bind reads dummy data, and the write phase binds values I can use in an insert statement. It is not nearly not as elegant a solution as using theInsertItemTemplatesupport provided by theListView.