i have made a website in asp.net using vb as base. now i am trying to access an image in another folder from a file in another folder, both in my parent website.
eg : file is /site/abc/a.aspx
image is /site/xyz/b.jpg
now it is not showing the image. it is displaying it from a file in the main site folder but not in any other folder. i tried the following but without success :
~/xyz/b.jpg
../xyz/b.jpg
Only way it is working is if i give the whole path, like /site/xyz/b.jpg but that i don't wanna give as my parent folder name may change. Any other way to get around this?
PLEASE HELP!!
2007-02-06
21:45:57
·
1 answers
·
asked by
francisco
2
in
Computers & Internet
➔ Programming & Design