Zeb Rehman

Zeb Rehman

  • NA
  • 41
  • 73k

Image Control

Apr 14 2012 3:52 AM
Hi Friends!
I am getting problem in image control. I have dragged an image control and i want to assign url to it. It just accept the image url from its project folder. But i want to give it url from any where in my hard drive. Like....

myImage.ImageUrl = "C:\\Users\\Zeb-Ur-Rehman\\Documents\\a.jpg";

But it only accept the url from its project folder Like...

myImage.ImageUrl = "~/Images/a.jpg";

Thanks in advance.

Answers (1)