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!