1
Reply

Image Control

Zeb Rehman

Zeb Rehman

Apr 14 2012 3:52 AM
1k
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)