Author: benoit.demianville | Posted on: 9/23/2010 9:41:17 AM | Views : 372

Hello everybody,
Recently, I have read an excellent tutorial from asp.net, MVC music store.
I have discover that we can access to variable in strongly typed views like this:
<ul> <% foreach (string genreName in Model.Genres) { %> <li> <%: genreName %> </li> <% } %> </ul>

It is very powerful!
Can we do the same with Web Form in aspx pages?
I ask this question because I think that ASP controls for data are very strict like gridview; in fact my real problem is that I want to make a loop in my apsx code and I think that I can't in Web form...


...

Go to the complete details ...