Posted By

tonatiuh on 02/20/11


Tagged

for each


Versions (?)

For each in view


 / Published in: C#
 

  1. <%@ Import Namespace="projectname.Models" %>
  2.  
  3. <%foreach (databasetable record in (IEnumerable)ViewData.Model)
  4. {%>
  5. <%=record.id %>
  6. <%}%>

Report this snippet  

You need to login to post a comment.