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
Loading
Bryian TanPosted Sep 22, 2010, 10:07 PM
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";