troubleshooting Question

vb asb.net displaying an image in image control setting ImageUrl

Avatar of Salah a a a Al Jasem
Salah a a a Al JasemFlag for Kuwait asked on
ASP.NETVisual Basic.NET
5 Comments1 Solution103 ViewsLast Modified:
I have hundreds of thousands of images distributed in many different drives and folders

on (a.aspx)   my code is
<asp:Image ID="Image1" runat="server" Height="984px" Width="929px" />

on (a.aspx.vb)   my code is
Image1.ImageUrl = "D:/Images/Info/160597aa.gif"

It is executing the Image1.ImageUrl .. line    but -  the image is not displayed!!

if I do
<asp:Image ID="Image1" runat="server" Height="984px" Width="929px" ImageUrl = "D:/Images/Info/160597aa.gif"/>

then the image is displayed!!

I appreciate it if any one can help
ASKER CERTIFIED SOLUTION
Salah a a a Al Jasem
G.M.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros