如何连接到网络上的SQL Server数据库 [英] how to connect to sql server database on a network

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

问题描述

我是一名成熟的C#程序员。我正在开发一个数据库应用程序任何人都可以帮我解决如何在网络上找到并连接到sql server数据库并保存它的代码。以便随后保持连接并且用户可以连接而无需再次通过连接过程。



谢谢



请将代码发送给我[删除电子邮件地址]

I am an armature C# programmer. I am developing a database application. Can anybody help me with the code on how to locate and connect to sql server database on a network and save it. so that subsequently the connection will remain and the user can connect without passing through the process of connecting again.

thank you

Please can send the code to me [Email address removed]

推荐答案

您好,



我认为这个 CodeProject文章适合您,应该让您入门。



问候,
Hello,

I think this CodeProject article is right for you and should get you started.

Regards,


从这里开始: ADO.NET(msdn) [ ^ ]并阅读所有相关文章;)然后看看 ADO.NET代码示例 [ ^ ]



如果连接字符串出现问题:http://www.connectionstrings.com/ [ ^ ]
Start here: ADO.NET (msdn)[^] and read all related articles ;) then have a look at ADO.NET Code examples[^]

In case of problem in connection string: http://www.connectionstrings.com/[^]


http://msdn.microsoft。 com / en-us / library / jj653752.aspx [ ^ ]



阅读本文
http://msdn.microsoft.com/en-us/library/jj653752.aspx[^]

read this article


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

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