night sailor

night sailor

  • NA
  • 20
  • 39.4k

Image not getting displayed...

Feb 12 2011 1:16 PM
Hi All,

I have added an Image control in aspx file and on runtime its ImageUrl property getting decided.
Ex:

string imageName = Label1.text;
Image1.ImageUrl = @"C:\folder\" + imageName + ".jpg";


But on running the page, image is not getting displayed.
I have checked the Image1.ImageUrl value during runtime is correct.
Any suggestions?

Thanks


Answers (6)