I am building a blog using ASP.NET MVC.
I want to know how to show posts one below the other in the home page because there is no Repeater control in MVC.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Saineshwar BageriPosted Nov 24, 2014, 1:33 AM
Apply For Loop on view page with desgin
N = will be your Model
@for(int i = 0; i <= N; i++)
{
}