Coding with .NET

Live with passion, coding with passion....

首页 新随笔 联系 订阅 管理

2005年9月2日 #

摘要: 在配置我们的应用程序的时候,经常会遇到有的配置元素、配置节需要可变的属性。比如,在 .net 2.0 中经常遇到的 Provider 模式。在配置 Provider 的时候,可能会需要为不同的 Provider 提供不同的属性,比如为 SqlDataProvider 提供连接字符串属性,为 XmlFileDataProvider 提供文件路径等。 下面代码是一般的 ConfigurationEle... 阅读全文
posted @ 2005-09-02 11:52 Lin 阅读(1356) 评论(2) 推荐(0) 编辑