Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading XML file
Message
 
To
20/09/2004 11:11:36
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00944026
Message ID:
00944086
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform