title: c# how to give relative path in web.config
body: <p>here is the Folder structure</p>
  
  <pre><code>D:
  |_ MYPROJECT
  |   |_web.config
  |_ SAMPLE
      |_xml-file
  </code></pre>
  
  <p>In web.config i have given the Absolute path as:</p>
  
  <pre><code>   &lt;add key="XMLPATH" value=" D:\SAMPLE\xml file" /&gt;
  </code></pre>
  
  <p>Now, how can i change this path to relative path?
      I tried below , but it is not working.</p>
  
  <pre><code>    &lt;add key="XMLPATH" value=" ..\..SAMPLE\xml-file" /&gt;
  </code></pre>