如何........ [英] How to........
本文介绍了如何........的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在app.config中读取连接字符串?
<编辑>从主题</Edit
How to read connection string in app.config?
<Edit> Removed multiple question marks from subject </Edit
推荐答案
1中删除了多个问号.在ASP.NET中,它是web.config ....
2.在这里,您可以:如何:从Web.config文件中读取连接字符串 [ ^ ]
1. In ASP.NET, it''s web.config....
2. Here you go: How to: Read Connection Strings from the Web.config File[^]
也尝试这些链接-
1) http://www.davidhayden.com/blog/dave/archive/2007/02/22/ReadConnectionStringsWebConfigAppConfig.aspx [ ^ ]
2) http://social.msdn.microsoft. com/Forums/en-US/adodotnetdataproviders/thread/9a8c9f5a-092e-4c4a-87bb-9f35d8f55da1 [
Try out these links as well -
1) http://www.davidhayden.com/blog/dave/archive/2007/02/22/ReadConnectionStringsWebConfigAppConfig.aspx[^]
2) http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataproviders/thread/9a8c9f5a-092e-4c4a-87bb-9f35d8f55da1[^]
这篇关于如何........的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文