ASP .NET - What's going on behind an Eval() ?
Posted
by Amokrane
on Stack Overflow
See other posts from Stack Overflow
or by Amokrane
Published on 2010-04-13T14:57:55Z
Indexed on
2010/04/21
23:23 UTC
Read the original article
Hit count: 225
Hi,
I'm trying to understand how Eval() works for a specific purpose. I'm working on a project I don't really know and I need to read some data and put them in drop down list. These data are already read and are displayed inside an ItemTemplate. I noticed there are read using the Eval() method. Something like:
<ItemTemplate>
<a href="...=<%# Eval("foo") %>></a>
</ItemTemplate>
I need to know where Eval is getting these data from in order to discover where I should read them for my drop down list! But I didn't really understand how it works! I know that Eval() evaluates data binding expressions at runtime but where do you think I should take a look at?
Thank you
© Stack Overflow or respective owner