查找连接字符串 [英] Find the connection-string
本文介绍了查找连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在VB 2008中创建数据库应用程序。
我如何找到该应用程序的连接字符串?
我必须在连接字符串中包含哪些事实? ?
I am creating database application in VB 2008.
How am i find the connection-string for that application?
what are facts that i have to include in connection-string?
推荐答案
您没有说要连接到哪个数据库。您可以在这里找到有关各种数据库的许多详细信息: http://connectionstrings.com/
You don't say what database you are connecting to. You will find lots of details on a variety of databases here: http://connectionstrings.com/
此外,您还可以将连接字符串本身放入App.config或web.config文件中。另请参见MSDN 如何从web.config中读取连接字符串
Also, you would put the connection string itself into the App.config or web.config file. See also MSDN How to read connection strings from the web.config
这篇关于查找连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文