Why would you do this? This is saying that all people who view your site
will have the file on their local machine. If they do not, the image will
not appear. If this file is on the server, it has to be under some website
folder for it to be available.
"Kevin" <pe******@hotmail.com> wrote in message
news:Oi**************@TK2MSFTNGP14.phx.gbl...
I don't think it shows on aspx page . why is that?
--------------------------------------------------------------------------
aspx file
<asp:Image id="Image1" runat="server"></asp:Image>
code behind
Image1.ImageUrl=@'file:///C:/UPLOAD/main.jpg";
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:u$**************@TK2MSFTNGP09.phx.gbl...
Try adding file:/// protocol to the beginning of the URL.
"Kevin" <pe******@hotmail.com> wrote in message
news:ef**************@TK2MSFTNGP14.phx.gbl...
hi guys,
I typed in C:/UPLOAD/main.jpg on the IE address text box, but it
doesn't load the image in my local drive.
do you know what is the proper format to load C:/UPLOAD/main.jpg from hard
drive using IE URL?