When creating a website using Asp.Net and using controls such as the ListView is it good practice to use the “Eval” command or should there be a literal and the data populated in the databind event?
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.
Depends if you want to write the data back on an update event in which case databind. If you only want to read that data you can use Bind() or Eval(), having said that Eval() uses reflection so there will be performance overhead there