Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading XML file
Message
 
À
20/09/2004 11:11:36
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00944026
Message ID:
00944086
Vues:
17
This message has been marked as the solution to the initial question of the thread.
Server.MapPath(fileName)

Server is a property of the page object

>I have a ASP.Net webform that reads an xml file on Page_Load(). This xml file exists in the same directory on the web server as the .ASPX file. However, my .ASPX can't find the xml file unless I specify the full path the xml file.
>
>Is there a way to find the xml file without using the fullpath?
>
>Thanks,
>
>Jerry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform