Adding div in loop in MVC5Hi. I am working on kind of project where you can order foods online.
Here, I want to implement function where I can bind all the hotels in page with link Profile, menu, display ratings.
Please suggest how I bind that data in .cshtml.
Like, generally, in asp.net, we can use grid view or list view for this purpose.
But in mvc5, I am confused that how to accomplish this requirement.
Either i can use div which is create runtime, or table or any other control.?