I don't think this will work, Melvik. Server.MapPath works the other way around as it accepts a virtual path (like /Databases/Database.mdb) and will return a physical location like C:\MySite\Databases\Database.mdb)
learner_7983: You have a bit of a problem here; On your local machine, C:\Images\Image1.jpg will work, but not anywhere else.
To allow the browser to download a file, you'll need to reference it with a path that can be reached from within the site (e.g. /Images, like
http://localhost/Images or
www.YourServer.Com/Images
I think the easiest fix is to create a virtual folder under IIS called Images that points to C:\ImagesNext, in your databinding expression, take the full path and extract the file name. That is, make sure you get book.jpg from a path like C:\Images\book.jpg.
Then in your Image, set the path to:
ImageUrl = "/Images/" + imageFileName;
Alternatively, and better, store the root relative path in the database; just storing /Images/book.jpg or even book.jpg allows for a flexible setup.....
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.