ASP.NET:连接到SQL Server数据库 [英] ASP.NET: connecting to a sql server database

查看:68
本文介绍了ASP.NET:连接到SQL Server数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(关于新手的问题,如果可以的话,请提供帮助)

(very newbie question, please help if you can)

我如何将可视化Web开发人员连接到sql server express 2008?在数据库资源管理器中,我右键单击数据连接",再单击添加连接...",然后在数据源"框中选择"Microsoft SQL Server(sqlClient)",我猜这并没有将我连接到数据库文件,但是到SQL Server表达自己(?).在服务器名称框中,当我单击下拉框时,那里什么都没有,这就是我被卡住的地方.

how do i connect visual web developer to sql server express 2008? in the Database Explorer, i right click on Data Connections, click Add Connection..., and in the Data source box i choose Microsoft SQL Server (sqlClient), which i'm guessing doesn't connect me to a database file, but to sql server express itself(?). in the server name box when i click the drop down box, there's nothing there and that's where i get stuck.

有人可以提供我如何连接到sql server express的链接吗?最好不要是msdn链接,因为我去过那里并且对他们的演练感到困惑.谢谢

can someone provide a link to how i can connect to sql server express; preferably not an msdn link since i've been there and struggled with their walkthrough. thanks

推荐答案

通常,您可以键入.\ SQLEXPRESS 以连接到本地SQL Server Express安装...

usually you can type in .\SQLEXPRESS to connect to local SQL Server Express install...

点表示您正在使用的计算机,例如localhost,\ SQLEXPRESS是服务器正在运行的SQL Server实例...这还是SQL Server Express的默认实例名称...

the dot means the computer you are on, like localhost, and the \SQLEXPRESS is the SQL Server instance that the server is running on...this is the default instance name anyway for SQL Server Express...

这篇关于ASP.NET:连接到SQL Server数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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