Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

how to fine a relative path of  a XML file in app_code in web.cofig     file in asp.net 2.0?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chandan - 07 Dec 2007 13:18 GMT
Hi!
how to find a relative path of  a XML file .This XML file is inside
the app_code folder .I have to access this file in web.config file.

Thansk,
Chandan kumar
Peter Bromberg [C# MVP] - 07 Dec 2007 20:06 GMT
The App_Code folder is really for compilable resources such as .cs or .vb
files and controls. Consider storing your xml file in the root of the
application so you can just use
Server.MapPath("myXmlFile.xml");
-- Peter
http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://www.blogmetafinder.com

> Hi!
> how to find a relative path of  a XML file .This XML file is inside
> the app_code folder .I have to access this file in web.config file.
>
> Thansk,
> Chandan kumar
chandan - 14 Dec 2007 10:37 GMT
On Dec 8, 1:06 am, Peter Bromberg [C# MVP]
<pbromb...@yahoo.NoSpamMaam.com> wrote:
> The App_Code folder is really for compilable resources such as .cs or .vb
> files and controls. Consider storing your xml file in the root of the
[quoted text clipped - 10 lines]
>
> - Show quoted text -

Thanks!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.