displays image from another folder in asp.net

Posted by Klbaiju under ASP.NET on 3/21/2018 | Points: 10 | Views : 364 | Status : [Member] | Replies : 0
Hi,

I want to display an image in my application from another folder.

my application in E drive and images in D folder.

I have tried below code

welcomeimages.ImageUrl =@"D:\writereaddata\UnitPhotos\" + dt.Rows[0]["PhotoUrl"].ToString();

no error have showed. but image doesn't shown


how to solve this

Regards

Baiju




Responses

(No response found.)

Login to post response