使用C#从Windows应用程序中的另一台PC连接到服务器数据库 [英] Connecting to server database from another PC in windows application using C#
本文介绍了使用C#从Windows应用程序中的另一台PC连接到服务器数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有PC A存储数据库(SQL Server DB)。我想从PC B连接到PC A上的数据库。
< span style ="color:#263238; font-family:Roboto,sans-serif; font-size:13px">当我提供PC A的连接字符串时它会显示错误26.请帮我解决这个问题。
推荐答案
请发布完整的错误消息,而不仅仅是一个数字。
Please post the complete error message, not only a number.
你的连接字符串是怎样的看起来像?
How does your connection string look like?
这篇关于使用C#从Windows应用程序中的另一台PC连接到服务器数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文