K. Scott Allen discusses how to both read and write to configuration files in .NET 2.0 here.

http://odetocode.com/Articles/418.aspx