SQL Server连接字符串,如何使 [英] Sql Server connection string,how can make

查看:95
本文介绍了SQL Server连接字符串,如何使的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人
如何使sql连接字符串,任何人都可以帮助我,我是sql的新手,我想将我的asp.net页连接到sql-sever数据库
任何机构都可以逐步定义

Dear All
how can make sql connection string,any body help me,i m new in sql,i want to connect my asp.net page to sql-sever database
any body define step by step

推荐答案

ConnectionStrings.com 是一个很棒的网站有关此类信息的信息.
ConnectionStrings.com is an awesome site for information on stuff like this.


http://www.connectionstrings.com/sql-server-2005 [ ^ ]


如果在Visual Studio的查看"菜单中查找,则会找到解决方案资源管理器".
查看此窗格,它将列出您可以连接到的所有数据库.
右键单击所需的数据库,然后选择属性".
查看属性"窗格,您将找到连接字符串".您可以将其复制并粘贴到您的应用程序或web.config文件中.
If you look in the View menu of Visual Studio, you will find "Solution Explorer".
Look at this pane, and it will list all the Databases you can connect to.
Right click on the database you want, and select "Properties".
Look at the Properties pane and you will find "Connection String". You can copy and paste this into you app, or into your web.config file.


这篇关于SQL Server连接字符串,如何使的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆