how to store path in web.config appsettings sectio
hi all...
I'm triying to store a path in an appsetting key..
I tried the following:
<add key="LogFile" value="|DataDirectory|apli.log" />
<add key="MailUpload" value="~\Estaticos\CorreoUpload.htm" />
neither of them give me the rigth path im looking for.. How can I avoid hardcode the full path or avoid using something in the code behind to get to the file i want??? is there any way the app can point to the rigth path or should i fix the code behind to point to it??
Gonzalo
__________________
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the proof.
================================================== =========
|