Are there any advantages or differences between using the following?
<%# Eval("Item.Details")%>
and <%# ((ItemDetails)Container.DataItem).Item.Details%>
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.
No, there aren’t any. The second is a bit better as it is strongly typed but might still crash at runtime if the cast fails.
In ASP.NET vNext you will be able to do this directly: