2007年8月23日 星期四

如何使用 .Net 2.0 的 ConfigurationManager

你必須要先reference System.Configuration.dll,才可以用 ConfigurationManager,否則編譯時會出現
The name 'ConfigurationManager' does not exist in the current context
的錯誤。