调用web.config中的configuration
来源:互联网 发布:陈桥五笔 for mac 编辑:程序博客网 时间:2024/04/30 02:09
还在一次一次的试,比较郁闷,今天在MS上发现的:
<connectionStrings>
<add name="mySqlServer"
connectionString="Server=localhost;Database=Pubs" />
</connectionStrings>
调用时是这样用的:
<asp:SqlDataSource
ID="SqlDataSource1"
SelectCommand="Select * FROM Titles"
ConnectionString="<%$ ConnectionStrings:mySqlServer %>"
Runat="Server" />
- 调用web.config中的configuration
- 调用web.config文件中的连接字符串
- WCF Server Configuration in Web.config or App.config
- web.config中的HttpHandler
- web.config中的HttpHandler
- web.config中的数据库连接
- web.config中的HttpHandler
- web.config中的HttpHandler
- web.config报 "Unrecognized configuration section dataConfiguration"错
- 编码web.config中的信息
- 加密web.config中的信息
- web.config中的cookieless问题
- VS2005中的Web.config详解
- web.config中的session配置
- 加密web.config中的信息
- web.config配置文件中的 元素
- 配置web.config中的 membership
- web.config中的httpRuntime配置
- MD5在线查询
- 跨应用程序进行 Forms 身份验证(.NET 1.1)
- 软院林德彰老师上课幽默语录
- ASP.NET常用函数(推荐)
- 昨天重阳,决定,吃饭,唱歌
- 调用web.config中的configuration
- 数据库设计中的14个技巧
- ASP.NET页面间的传值的几种方法
- 格式化时间
- [原创]c#中使用多线程(图)一
- csdn blog点击“写文章”反应很快,“编辑”就没那么容易了
- Vector在Java编程中的应用
- 数据库设计经验谈(上)
- 澄清Java语言接口与继承的本质