I have develop a asp.mvc3 web application in this i have save the image name and some text into database.When i try to get the image from data base it doesn't show image.Actually in my local machine every thing is working fine but when i test in server it's not working please helpme.
<% for (int v = 0; v < Listdata.Count; v++)
{ %>
<%if (j == 1)
{ %>
<%if (count < Listdata.Count)
{ %>
<tr>
<%string Imageurl = Listdata[count].ToString();%>
<%string[] GetImages = Imageurl.Split(','); %>
<%string imagedata = GetImages[1].ToString(); %>
<% Getimage1 = imagedata.Substring(9, imagedata.Length - 10); %>
<li class="menu"><a href='<%=Html.Encode(Geturl) %>'>
<img src='/Images/<%=Html.Encode(Getimage1)%>' alt="" style="margin-top: 0px; width: auto;
height: 200px;" /></a></li>
<%} %>
<td>
<li class="menu"><span style="float: left; margin-left: 5px;">
<%=Html.Encode(Postdate)%></span><br />
<a href="DisplayData/<%=Html.Encode(item.postid) %>"><span class="name">
<%=Html.Encode(item.post)%></span><span class="arrow"></span></a></li>
<%j++; i = 2; count++; %>
<%}
}
} %>
<%} %>
</td>