WebConfig 配置文件读取代码
Configuration systemConfig =
WebConfigurationManager.OpenWebConfiguration("~");
// Get the <system.web> group.
SystemWebSectionGroup systemWebConfig = systemConfig.GetSectionGroup("system.web") as SystemWebSectionGroup;
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment