Ok, I don't have any problems getting the data but I have problems setting the data at run-time. I am using
And I get "Collection is read-only"Code:
ConfigurationSettings.AppSettings.Set(key, value);
Any ideas?
Ok, I don't have any problems getting the data but I have problems setting the data at run-time. I am using
And I get "Collection is read-only"Code:
ConfigurationSettings.AppSettings.Set(key, value);
Any ideas?
You can't set values, only read them. You have to put them manually in the XMl
Ok, lets say I want to detect the window size when they close it and save it for the next time they open the application, how do I do that? You have got to be able to set and change the values in the xml file.
Anyone?? Pirate, help!!! :(
Yeah , PT Exorcist is right . You can only read the settings from App setting file . Here's an example on Edneeis's site . http://www.edneeis.com/example.aspx?ID=13