I have an application that writes files to a directory. This directory is hard coded in my C#, for example...
using (StreamWriter writer = new StreamWriter("C:\\BillingExport\\EXPORTS\\TRANSACTIONS\\TYPE07.txt"))
I want to store the directory in the web config, and reference it from my C#. Every attempt I've made has resulted in either invalid xml or an error, so I was hoping for some help - thanks
I tried putting it in connectionStrings
<connectionStrings>
<add name = "exportppath1" value = "C:\BillingExport\EXPORTS\TRANSACTIONS\"/>
</connectionStrings>