Loading an image control from a local drive

Posted by Kumar on Stack Overflow See other posts from Stack Overflow or by Kumar
Published on 2010-03-17T03:02:07Z Indexed on 2010/03/17 3:11 UTC
Read the original article Hit count: 298

Filed under:
|
|

I have a folder C:\Images which has a some images. This folder is not inside my project and I would to know if there is a way to load an image from that folder on to an ASP.NET Image control.

<asp:Image ID="img" runat="server" />

One solution could be to make the Images folder a Virtual directory on the IIS but I would like to know if this can be done without creating a virtual directory for the Images folder.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#