I have attached a folder to my project solution explorer (ASP.NET) that includes all the images I may retrieve their names from the database for output. Images names stored in the database as paths:

<img src="~/@item.Logo" width="120" height="120" />

the problem is that i am not getting the images displayed in the browser! when I output the value of @item.Logo and copy/paste it in the HTML tag the images were shown!

can anyone tell me what is the wrong thing i am doing here ?

Related posts

Recent Viewed