So I'm just getting started on a simple blog like application written in ASP.NET MVC. Basically I have my CSS made and I'm using jquery for some effects but I'd like to do something like a for each loop to display all the data in my posts array seperated into their own little sections. The CSS already has the style for the divs so its just a matter of creating a dynamic amount on the page.
EDIT: Sorry I didn't mention it, two things though:
1) I've never written an ASP.NET MVC based app only pieces of code for classic ASP.Net
2) To clarify what I'm asking I mean when the person loads the page all the divs will already be generated, I'm not adding more after it loads. Like I said, its to render the main view of a blog, all the posts would be retrieve from the model I'm just trying to figure out how to render it in the view.
Thanks