2010-02-02

How to check the image existence in the asp:Image

File.Exists(Server.MapPath(ThumbnailImage.ImageUrl))

Note: ‘ThumbnailImage’ is the ID of the asp:image controller.

No comments: