Hi sir
I have problem in image retrieve from database
in this image path is viewing in attribute but dose not display the image in view
please solve it
thank u
@{
Datetime.HRMEntities entity = new Datetime.HRMEntities();
}
@using (Html.BeginForm())
{
<table border="1">
<thead>
<tr>
<th>Image</th>
<th>First name</th>
<th>Last name</th>
</tr>
</thead>
<tbody>
@foreach (var item in entity.ImageSaves)
{
<tr>
<td><img src="~/images/@item.imageUrl" width="100" height="100" /></td>
<td>@item.fname</td>
<td>@item.lname</td>
</tr>
}
</tbody>
</table>
}