Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Absolute vs Relative Path Problem
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00697815
Message ID:
00697837
Vues:
12
I think it is using absolute url. Doesn't it show the Image properly? I tried to do the same in the Page_Load() and it works.

>I am trying display an image using an absolute file name stored in a VFP field.
>Ex: c:\foldername\picturename.jpg
>
>This is the line of code:
>Image1.ImageUrl = reader("hpfilename")
>
>It returns:
>file:///c:\foldername\picturename.jpg
>
>Appears to be trying to use a relative file name. Any way to specify as absolute or is there another way, besides moving the file into my asp.net folder?
>
>Many thanks,
>
>Todd
- Jayesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform