如何在MFC中连接远程SQL Server [英] How to connect remote sql server in MFC
本文介绍了如何在MFC中连接远程SQL Server的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道远程服务器的地址,例如114.120.124.112,服务器的登录名是,例如test,密码是test_1.服务器中有一个名为testDatabase的数据库.我想连接数据库
i know the remote server''s address like 114.120.124.112,the login name to the server is ,for example, test,password is test_1.there is a database named testDatabase in the server.i want to connect the database with ado in mfc.how can i construct the connectString.
推荐答案
我知道的学习或创建连接字符串的最佳资源是ConnectionStrings.com .
The best resource I know of for learning or creating connection strings is ConnectionStrings.com.
这篇关于如何在MFC中连接远程SQL Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文