dear all
please tell me that how to use image control of asp4.0 to view an image .. that is located on the disk.
when i write below code
Image1.ImageUrl = "C:\\Documents and Settings\\faraz\\Desktop\\image.jpg";
it is not showing up the image do i need to provide URL wot if my image files a place on disk.
thanks iin adv
Image control in asp4.0
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Bryian TanRank #396 · 6.3K reputationPosted Sep 22, 2010, 6:07 PM EDT
You can place the image inside your web application. Let said the image is on images folder. Then in the application,
Image1.ImageUrl = "~/images/image.jpg";