Hello,
I need some help in displaying Images in grid style using Asp.net MVC razor.
Here's what i have tried:-
-- Controller--
public ActionResult Index()
{
return View(db.Img_data.ToList());
}
--Razor View--
@using firstmvc.Models
@model IEnumerable
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/Adminmaster.cshtml";
}
And the result of the code in browser is :- http://prntscr.com/byyv9b
How i want to display the image is :-http://prntscr.com/byyvl5
Cheers
Guest UserPosted Jul 29, 2016, 5:22 AM
Luis saPosted Aug 2, 2016, 2:29 AM
Jitendra KumarPosted Jul 29, 2016, 7:46 AM