如何安全地与数据库连接? [英] How to connect with database saperately?

查看:96
本文介绍了如何安全地与数据库连接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用sql server 2008和visual studio 2010连接数据库时遇到了困难...

谁能帮我一下plz

i am facing difficulty to connect with my database using sql server 2008 and visual studio 2010 saperately...

can any one help me out plz

推荐答案



您可以在Visual Studio中打开服务器资源管理器.有个巫师.

在代码中,可以使用SQLConnection类...

http://msdn.microsoft.com/en -us/library/system.data.sqlclient.sqlconnection(v = vs.71).aspx [
Hi,

You can open in Visual Studio the Server Explorer. There is a wizzard.

In Code, you can use the SQLConnection class...

http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection(v=vs.71).aspx[^]


这篇关于如何安全地与数据库连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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