摘要: // Get the Web application configuration. System.Configuration.Configuration webConfig = WebConfigurationManager.OpenWebConfiguration("~/"); // Get the section. System.Web.Configuration.SqlCacheDe... 阅读全文
posted @ 2008-10-19 22:11 ejiyuan 阅读(351) 评论(0) 推荐(0)
摘要: 第一步:修改配置文件 <connectionStrings> <add name="ConnectionString" connectionString="Server=(local);database=建立缓存的数据库;uid=sa;pwd=123456" providerName="System.Data.SqlClient" /> </connectionStr... 阅读全文
posted @ 2008-10-19 22:07 ejiyuan 阅读(2647) 评论(5) 推荐(0)