title: How to access the folder path in web config using c#
body: <p>How can i access the folder path from web.config using c# code.
  here is a sample code.</p>
  
  <p>how to place this path in web config <code>C:\\whatever\\Data\\sample.xml</code></p>
  
  <p>i have to read this path from web config.</p>
  
  <pre><code>string folderpath = ConfigurationSettings.AppSettings["path"].ToString();
  
  using (XmlWriter xw = XmlWriter.Create(folderpath, new XmlWriterSettings { Indent = false }))
  </code></pre>
  
  <p>please help.....</p>