How to assign Value to Key in App.config of C# win app ?
- by karthik
I am using the below string in my code :
string AAR_FilePath = "\"C:\\MySQL\\MySQL Server 5.0\\bin\\mysqldump\"";
which i dont want to hardcore in my code. So i need to use that in my app.config
I tried to give the same value as,
<add key="Path_SqlDump" value="\"C:\\MySQL\\MySQL Server 5.0\\bin\\mysqldump\""></add>
But the above gives me error, because of the quotes.
All i need is, i should be able to assign "\"C:\MySQL\MySQL Server 5.0\bin\mysqldump\""
to a string. HOW ?